/* ==========================================================================
   tk55.homes — frame-compact-9c9e18.css
   Mobile-first canvas (320-430px). Prefix: viewc9e18-
   Palette: #4DB6AC accent on #0A0A0A dark base.
   Design tone: bold short headings + light body, lightly rounded cards,
   compact CTA text buttons, slide-in menu, subtle card lift on press.
   ========================================================================== */

:root {
  --viewc9e18-ink: #0a0a0a;
  --viewc9e18-ink-2: #0d0f11;
  --viewc9e18-panel: #14181b;
  --viewc9e18-panel-2: #1a1f23;
  --viewc9e18-line: #252b30;
  --viewc9e18-line-soft: #1e2429;
  --viewc9e18-teal: #4db6ac;
  --viewc9e18-teal-deep: #26847c;
  --viewc9e18-teal-soft: rgba(77, 182, 172, 0.14);
  --viewc9e18-teal-line: rgba(77, 182, 172, 0.42);
  --viewc9e18-text: #f1f7f6;
  --viewc9e18-mute: #9fb0ae;
  --viewc9e18-mute-2: #748382;
  --viewc9e18-warm: #f0b45c;
  --viewc9e18-alert: #ef6a5a;
  --viewc9e18-radius-l: 14px;
  --viewc9e18-radius-m: 10px;
  --viewc9e18-radius-s: 7px;
  --viewc9e18-head-h: 60px;
  --viewc9e18-dock-h: 62px;
  --viewc9e18-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    "Segoe UI", system-ui, -apple-system, "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #050607;
  color: var(--viewc9e18-text);
  font-family: var(--viewc9e18-font);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--viewc9e18-teal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

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

/* --------------------------------------------------------------------------
   Phone canvas: content stays centered inside a 430px frame on wide screens.
   -------------------------------------------------------------------------- */

.viewc9e18-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--viewc9e18-ink);
  position: relative;
}

@media (min-width: 478px) {
  .viewc9e18-shell {
    border-left: 1px solid var(--viewc9e18-line-soft);
    border-right: 1px solid var(--viewc9e18-line-soft);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.6);
  }
}

/* --------------------------------------------------------------------------
   Top bar: minimal brand + action band (sticky inside the canvas)
   -------------------------------------------------------------------------- */

.viewc9e18-topbar {
  position: sticky;
  top: 0;
  z-index: 430;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--viewc9e18-line);
}

.viewc9e18-brandRow {
  min-height: var(--viewc9e18-head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
}

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

.viewc9e18-brand:hover,
.viewc9e18-brand:focus-visible {
  text-decoration: none;
}

.viewc9e18-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--viewc9e18-teal-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.viewc9e18-brandName {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--viewc9e18-teal);
  line-height: 1;
}

.viewc9e18-topActs {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Compact text CTA pair: filled + outline, lightly rounded */

.viewc9e18-btn {
  min-height: 44px;
  padding: 8px 13px;
  border-radius: var(--viewc9e18-radius-s);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.14s ease, filter 0.14s ease,
    background-color 0.14s ease;
}

.viewc9e18-btn:active {
  transform: scale(0.96);
  filter: brightness(1.12);
}

.viewc9e18-btnReg {
  background: var(--viewc9e18-teal);
  color: #08211f;
}

.viewc9e18-btnLog {
  background: transparent;
  color: var(--viewc9e18-teal);
  border-color: var(--viewc9e18-teal-line);
}

/* Hamburger toggle */

.viewc9e18-menuBtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line);
  border-radius: var(--viewc9e18-radius-s);
}

.viewc9e18-menuBtn span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--viewc9e18-teal);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.viewc9e18-menuBtn span + span {
  margin-top: 4px;
}

.viewc9e18-menuBtn span:nth-child(2) {
  width: 12px;
  margin-left: auto;
  margin-right: 2px;
}

.viewc9e18-menuBtn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.viewc9e18-menuBtn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.viewc9e18-menuBtn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Expandable navigation panel (slides in under the brand row)
   -------------------------------------------------------------------------- */

.viewc9e18-dropmenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--viewc9e18-ink-2);
  border-bottom: 1px solid var(--viewc9e18-line);
  padding: 10px 12px 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.5);
}

.viewc9e18-dropmenu.viewc9e18-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.viewc9e18-dropGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.viewc9e18-dropLink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: var(--viewc9e18-radius-s);
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  color: var(--viewc9e18-text);
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color 0.14s ease, transform 0.14s ease;
}

.viewc9e18-dropLink::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--viewc9e18-teal);
  flex: 0 0 auto;
}

.viewc9e18-dropLink:hover,
.viewc9e18-dropLink:focus-visible {
  background: var(--viewc9e18-panel-2);
  text-decoration: none;
}

.viewc9e18-dropLink:active {
  transform: scale(0.97);
}

.viewc9e18-dropLink[aria-current="page"] {
  border-color: var(--viewc9e18-teal-line);
  background: var(--viewc9e18-teal-soft);
  color: var(--viewc9e18-teal);
}

.viewc9e18-dropNote {
  margin: 10px 2px 0;
  font-size: 10.5px;
  color: var(--viewc9e18-mute-2);
}

/* --------------------------------------------------------------------------
   Main flow
   -------------------------------------------------------------------------- */

.viewc9e18-main {
  padding: 14px 12px calc(var(--viewc9e18-dock-h) + 26px);
}

.viewc9e18-main section {
  margin-top: 22px;
}

/* Page title block */

.viewc9e18-pageHead {
  margin-top: 4px;
}

.viewc9e18-pageHead h1 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.viewc9e18-pageHead h1 em {
  font-style: normal;
  color: var(--viewc9e18-teal);
}

.viewc9e18-pageSub {
  margin: 7px 0 0;
  font-size: 12.5px;
  color: var(--viewc9e18-mute);
}

/* --------------------------------------------------------------------------
   Hero carousel (3 local promo banners, snap scrolling)
   -------------------------------------------------------------------------- */

.viewc9e18-hero {
  margin-top: 14px;
  border-radius: var(--viewc9e18-radius-l);
  overflow: hidden;
  border: 1px solid var(--viewc9e18-line);
  position: relative;
  background: var(--viewc9e18-panel);
}

.viewc9e18-heroTrack {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.viewc9e18-heroTrack::-webkit-scrollbar {
  display: none;
}

.viewc9e18-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  padding: 0;
  border: 0;
  background: var(--viewc9e18-panel);
  display: block;
  width: 100%;
  text-align: left;
}

.viewc9e18-slide img {
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
}

.viewc9e18-slideCap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 30px;
  background: linear-gradient(
    to top,
    rgba(5, 6, 7, 0.92) 22%,
    rgba(5, 6, 7, 0.55) 62%,
    rgba(5, 6, 7, 0)
  );
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.viewc9e18-slideKick {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewc9e18-warm);
}

.viewc9e18-slideTitle {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.viewc9e18-slideTxt {
  font-size: 11px;
  color: var(--viewc9e18-mute);
}

.viewc9e18-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.viewc9e18-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.viewc9e18-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.viewc9e18-dot.viewc9e18-dotOn::before {
  background: var(--viewc9e18-teal);
  transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   Quick category chips (anchor shortcuts to the sections)
   -------------------------------------------------------------------------- */

.viewc9e18-chipRow {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.viewc9e18-chipRow::-webkit-scrollbar {
  display: none;
}

.viewc9e18-chip {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--viewc9e18-teal-line);
  background: var(--viewc9e18-teal-soft);
  color: var(--viewc9e18-teal);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.14s ease;
}

.viewc9e18-chip:active {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   Fact summary strip (numbers first, details expand below)
   -------------------------------------------------------------------------- */

.viewc9e18-factStrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.viewc9e18-fact {
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  border-radius: var(--viewc9e18-radius-m);
  padding: 9px 6px;
  text-align: center;
}

.viewc9e18-fact b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--viewc9e18-teal);
  line-height: 1.2;
}

.viewc9e18-fact span {
  display: block;
  font-size: 9.5px;
  color: var(--viewc9e18-mute-2);
  margin-top: 2px;
  line-height: 1.3;
}

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

.viewc9e18-more {
  margin-top: 10px;
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  border-radius: var(--viewc9e18-radius-m);
  padding: 0 12px;
}

.viewc9e18-more summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--viewc9e18-teal);
  list-style: none;
}

.viewc9e18-more summary::-webkit-details-marker {
  display: none;
}

.viewc9e18-more summary::before {
  content: "+";
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--viewc9e18-teal-line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.viewc9e18-more[open] summary::before {
  content: "–";
}

.viewc9e18-more p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--viewc9e18-mute);
}

/* --------------------------------------------------------------------------
   Section heading band
   -------------------------------------------------------------------------- */

.viewc9e18-secHead {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;
  border-left: 3px solid var(--viewc9e18-teal);
  margin-bottom: 11px;
}

.viewc9e18-secHead h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.viewc9e18-secMeta {
  font-size: 11px;
  color: var(--viewc9e18-mute-2);
}

.viewc9e18-secIntro {
  margin: 0 0 11px;
  font-size: 12.5px;
  color: var(--viewc9e18-mute);
}

.viewc9e18-secIntro a {
  font-weight: 700;
}

.viewc9e18-secMore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 11px 0 0;
  font-size: 11px;
  color: var(--viewc9e18-mute-2);
}

.viewc9e18-secMore a {
  font-weight: 700;
  font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   Game grid — compact tiles, icon + name, whole tile is one tap target
   -------------------------------------------------------------------------- */

.viewc9e18-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 6px;
}

@media (min-width: 375px) {
  .viewc9e18-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 7px;
  }
}

.viewc9e18-gtile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 6px;
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  border-radius: var(--viewc9e18-radius-m);
  transition: transform 0.16s ease, border-color 0.16s ease,
    background-color 0.16s ease;
}

.viewc9e18-gtile:hover {
  text-decoration: none;
  border-color: var(--viewc9e18-teal-line);
  background: var(--viewc9e18-panel-2);
}

.viewc9e18-gtile:active {
  transform: translateY(-2px);
  border-color: var(--viewc9e18-teal);
}

.viewc9e18-gicon {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--viewc9e18-radius-s);
  object-fit: cover;
  background: #0f1214;
  border: 1px solid var(--viewc9e18-line-soft);
}

.viewc9e18-gname {
  font-size: 10.5px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--viewc9e18-text);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
  word-break: break-word;
}

/* Per-category tinting so each block keeps its own rhythm */

.viewc9e18-secHot .viewc9e18-gtile {
  border-color: rgba(239, 106, 90, 0.28);
}

.viewc9e18-secHot .viewc9e18-gtile:active {
  border-color: var(--viewc9e18-alert);
}

.viewc9e18-secHot .viewc9e18-secHead {
  border-left-color: var(--viewc9e18-alert);
}

.viewc9e18-secLive .viewc9e18-gname {
  color: #d9f2ef;
}

.viewc9e18-secLive .viewc9e18-gicon {
  border-color: rgba(77, 182, 172, 0.3);
}

.viewc9e18-secPoker .viewc9e18-gtile {
  border-style: dashed;
  border-color: #2c333a;
}

.viewc9e18-secFish .viewc9e18-gtile {
  background: #10171a;
}

/* --------------------------------------------------------------------------
   Winners board — horizontal icon + name bars
   -------------------------------------------------------------------------- */

.viewc9e18-winBoard {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.viewc9e18-winRow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 7px 10px;
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  border-radius: var(--viewc9e18-radius-m);
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.viewc9e18-winRow:active {
  transform: translateY(-2px);
  border-color: var(--viewc9e18-teal-line);
}

.viewc9e18-winIcon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--viewc9e18-radius-s);
  object-fit: cover;
  border: 1px solid var(--viewc9e18-line-soft);
}

.viewc9e18-winWho {
  flex: 1 1 auto;
  min-width: 0;
}

.viewc9e18-winGame {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--viewc9e18-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewc9e18-winWhen {
  display: block;
  font-size: 10px;
  color: var(--viewc9e18-mute-2);
}

.viewc9e18-winAmt {
  flex: 0 0 auto;
  text-align: right;
}

.viewc9e18-winAmt b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--viewc9e18-teal);
}

.viewc9e18-winAmt span {
  display: block;
  font-size: 9.5px;
  color: var(--viewc9e18-mute-2);
}

.viewc9e18-winNote {
  margin: 11px 0 0;
  font-size: 11.5px;
  color: var(--viewc9e18-mute);
  background: var(--viewc9e18-teal-soft);
  border-left: 3px solid var(--viewc9e18-teal);
  border-radius: 0 var(--viewc9e18-radius-s) var(--viewc9e18-radius-s) 0;
  padding: 9px 10px;
}

.viewc9e18-winNote a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Play-now CTA band
   -------------------------------------------------------------------------- */

.viewc9e18-cta {
  background: linear-gradient(
      155deg,
      rgba(77, 182, 172, 0.16) 0%,
      rgba(77, 182, 172, 0.04) 46%,
      rgba(20, 24, 27, 0.9) 100%
    ),
    var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-teal-line);
  border-radius: var(--viewc9e18-radius-l);
  padding: 15px 13px;
  text-align: center;
}

.viewc9e18-cta p {
  margin: 6px 0 13px;
  font-size: 12px;
  color: var(--viewc9e18-mute);
}

.viewc9e18-ctaRow {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
}

.viewc9e18-ctaA {
  flex: 1 1 150px;
  min-height: 46px;
  border-radius: var(--viewc9e18-radius-s);
  border: 0;
  background: var(--viewc9e18-teal);
  color: #08211f;
  font-size: 13.5px;
  font-weight: 800;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.viewc9e18-ctaB {
  flex: 1 1 150px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--viewc9e18-radius-s);
  border: 1px solid var(--viewc9e18-teal-line);
  background: transparent;
  color: var(--viewc9e18-teal);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.viewc9e18-ctaA:active,
.viewc9e18-ctaB:active {
  transform: scale(0.96);
}

.viewc9e18-ctaA:hover,
.viewc9e18-ctaB:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

/* --------------------------------------------------------------------------
   Checklist
   -------------------------------------------------------------------------- */

.viewc9e18-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.viewc9e18-check li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  border-radius: var(--viewc9e18-radius-m);
  padding: 10px 11px;
  font-size: 12.5px;
  color: var(--viewc9e18-text);
}

.viewc9e18-check li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--viewc9e18-teal-soft);
  border: 1px solid var(--viewc9e18-teal-line);
  color: var(--viewc9e18-teal);
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Scenario Q&A cards
   -------------------------------------------------------------------------- */

.viewc9e18-answer {
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  border-left: 3px solid var(--viewc9e18-warm);
  border-radius: 0 var(--viewc9e18-radius-m) var(--viewc9e18-radius-m) 0;
  padding: 11px 12px;
  font-size: 13px;
}

.viewc9e18-qa {
  margin-top: 10px;
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  border-radius: var(--viewc9e18-radius-m);
  padding: 11px 12px;
}

.viewc9e18-qa h3 {
  margin: 0 0 5px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--viewc9e18-teal);
  line-height: 1.4;
}

.viewc9e18-qa p {
  margin: 0;
  font-size: 12.5px;
  color: var(--viewc9e18-mute);
}

.viewc9e18-qa p + p {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Extended footer (homepage only): brand > directory > promotions > note
   -------------------------------------------------------------------------- */

.viewc9e18-xfoot {
  margin-top: 26px;
  border-top: 1px solid var(--viewc9e18-line);
  background: var(--viewc9e18-ink-2);
  padding: 16px 12px 8px;
}

.viewc9e18-xfoot h2 {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--viewc9e18-teal);
}

.viewc9e18-xbrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.viewc9e18-xbrand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--viewc9e18-teal-line);
  flex: 0 0 auto;
}

.viewc9e18-xbrand p {
  margin: 0;
  font-size: 11.5px;
  color: var(--viewc9e18-mute);
}

.viewc9e18-xblock {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px dashed var(--viewc9e18-line);
}

.viewc9e18-dirGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.viewc9e18-dirLink {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 9px;
  border-radius: var(--viewc9e18-radius-s);
  background: var(--viewc9e18-panel);
  border: 1px solid var(--viewc9e18-line-soft);
  color: var(--viewc9e18-text);
  font-size: 11.5px;
  font-weight: 600;
  transition: background-color 0.14s ease, transform 0.14s ease;
}

.viewc9e18-dirLink::before {
  content: "›";
  color: var(--viewc9e18-teal);
  font-weight: 800;
}

.viewc9e18-dirLink:hover,
.viewc9e18-dirLink:focus-visible {
  background: var(--viewc9e18-panel-2);
  text-decoration: none;
}

.viewc9e18-dirLink:active {
  transform: scale(0.97);
}

.viewc9e18-promoRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viewc9e18-promoCut {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--viewc9e18-teal);
  color: #08211f;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.viewc9e18-promoCut:nth-child(even) {
  background: transparent;
  color: var(--viewc9e18-teal);
  border: 1px solid var(--viewc9e18-teal-line);
}

.viewc9e18-promoCut:active {
  transform: scale(0.95);
}

.viewc9e18-xnote {
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--viewc9e18-line);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--viewc9e18-mute-2);
}

/* --------------------------------------------------------------------------
   Common footer line
   -------------------------------------------------------------------------- */

.viewc9e18-siteFoot {
  text-align: center;
  padding: 14px 12px calc(var(--viewc9e18-dock-h) + 20px);
  font-size: 10.5px;
  color: var(--viewc9e18-mute-2);
  border-top: 1px solid var(--viewc9e18-line-soft);
}

/* --------------------------------------------------------------------------
   Mobile bottom dock: 5 segmented roles, fixed to the canvas bottom
   -------------------------------------------------------------------------- */

.viewc9e18-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 430;
  display: flex;
  background: rgba(12, 14, 16, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--viewc9e18-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.viewc9e18-dockItem {
  flex: 1 1 20%;
  min-height: var(--viewc9e18-dock-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 7px;
  color: var(--viewc9e18-mute);
  font-size: 10px;
  font-weight: 700;
  background: transparent;
  border: 0;
  position: relative;
  transition: color 0.16s ease, transform 0.14s ease;
}

.viewc9e18-dockItem + .viewc9e18-dockItem {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.viewc9e18-dockItem:active {
  transform: translateY(-1px);
}

.viewc9e18-dockItem:hover {
  text-decoration: none;
}

.viewc9e18-dockItem svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Two-tone accents inside each role icon */

.viewc9e18-dockItem .viewc9e18-icoDot {
  fill: var(--viewc9e18-teal);
  stroke: none;
}

/* Active role: fill change + teal tint + top indicator */

.viewc9e18-dockItem.viewc9e18-on {
  color: var(--viewc9e18-teal);
}

.viewc9e18-dockItem.viewc9e18-on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--viewc9e18-teal);
}

.viewc9e18-dockItem.viewc9e18-on .viewc9e18-icoFill {
  fill: currentColor;
}

.viewc9e18-dockLabel {
  line-height: 1.25;
}

/* Compatible Part1 additions: readable guidance and touch-safe controls. */
:root { --viewc9e18-mute-2: #a0afad; }
.viewc9e18-main { padding-bottom: 26px; overflow-wrap: anywhere; }
.viewc9e18-main h2 { font-size: 17px; line-height: 1.5; margin: 0 0 12px; font-weight: 800; }
.viewc9e18-main h3 { font-size: 14px; line-height: 1.5; color: var(--viewc9e18-teal); margin: 14px 0 6px; }
.viewc9e18-main p { font-weight: 400; }
.viewc9e18-main p a, .viewc9e18-main li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.viewc9e18-chip, .viewc9e18-dirLink { min-height: 44px; border-radius: 7px; }
.viewc9e18-brandRow { padding-inline: 10px; gap: 5px; }
.viewc9e18-topActs { gap: 5px; }
.viewc9e18-topActs .viewc9e18-btn { padding-inline: 9px; }
.viewc9e18-menuBtn { flex-direction: column; flex-shrink: 0; }
.viewc9e18-menuBtn span:nth-child(2) { margin-left: 3px; margin-right: 0; }
.viewc9e18-dropmenu { max-height: calc(100dvh - 140px); overflow-y: auto; transition: transform 0.22s ease, opacity 0.22s ease; }
.viewc9e18-slide img { width: 100%; height: auto; aspect-ratio: 1915 / 450; object-fit: contain; }
.viewc9e18-gicon { height: auto; }
.viewc9e18-slideCap { position: static; padding: 12px; min-height: 100px; background: var(--viewc9e18-panel); }
.viewc9e18-slideTitle { font-size: 16px; }
.viewc9e18-slideTxt { font-size: 12px; color: #c4d3d1; line-height: 1.6; }
.viewc9e18-slideKick { letter-spacing: 0; font-size: 12px; }
.viewc9e18-dots { position: static; justify-content: center; gap: 2px; background: var(--viewc9e18-panel); }
.viewc9e18-dot { width: 44px; height: 44px; }
.viewc9e18-carouselTools { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; background: var(--viewc9e18-panel); }
.viewc9e18-carouselTools button { min-height: 44px; }
.viewc9e18-gtile { width: 100%; min-width: 0; min-height: 80px; cursor: pointer; }
.viewc9e18-gname { display: block; overflow: visible; min-height: 3.96em; font-size: 11px; }
.viewc9e18-grid { align-items: stretch; }
.viewc9e18-topic { padding: 12px 0; border-top: 1px solid var(--viewc9e18-line); }
.viewc9e18-topic p { margin: 8px 0; }
.viewc9e18-brief { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.viewc9e18-brief span { padding: 8px 10px; background: var(--viewc9e18-teal-soft); border: 1px solid var(--viewc9e18-teal-line); border-radius: 7px; font-size: 12px; }
.viewc9e18-stepList { list-style: none; padding: 0; margin: 0; counter-reset: viewc9e18-step; }
.viewc9e18-stepList > li { counter-increment: viewc9e18-step; position: relative; padding: 2px 0 18px 36px; border-left: 1px solid var(--viewc9e18-teal-line); margin-left: 13px; }
.viewc9e18-stepList > li::before { content: counter(viewc9e18-step); position: absolute; left: -14px; top: 9px; width: 28px; height: 28px; border-radius: 7px; background: var(--viewc9e18-teal); color: #0a0a0a; font-weight: 800; display: grid; place-items: center; }
.viewc9e18-terms { margin: 0; }
.viewc9e18-terms dt { font-weight: 800; color: var(--viewc9e18-teal); margin-top: 16px; }
.viewc9e18-terms dd { margin: 5px 0 12px; }
.viewc9e18-routeRows { display: flex; flex-direction: column; gap: 8px; }
.viewc9e18-routeRows > div { padding: 10px 12px; background: var(--viewc9e18-panel); border-radius: 7px; border-left: 3px solid var(--viewc9e18-teal); }
.viewc9e18-actionNote { display: block; margin: 8px 0 14px; color: #b2c2c0; font-size: 12px; }
.viewc9e18-siteFoot { padding-bottom: calc(var(--viewc9e18-dock-h) + env(safe-area-inset-bottom, 0px) + 24px); }
.viewc9e18-main section, .viewc9e18-main h2 { scroll-margin-top: 80px; }
.viewc9e18-dirGrid { display: flex; overflow-x: auto; gap: 7px; padding-bottom: 6px; }
.viewc9e18-dirLink { flex: 0 0 auto; }
.viewc9e18-promoCut { border-radius: 7px; }
.viewc9e18-dockItem { min-width: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* --------------------------------------------------------------------------
   Utilities and motion preferences
   -------------------------------------------------------------------------- */

.viewc9e18-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--viewc9e18-teal);
  color: #08211f;
  padding: 10px 14px;
  border-radius: var(--viewc9e18-radius-s);
  font-weight: 800;
  z-index: 500;
}

.viewc9e18-skip:focus {
  left: 10px;
  top: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .viewc9e18-dropmenu,
  .viewc9e18-gtile,
  .viewc9e18-winRow,
  .viewc9e18-btn,
  .viewc9e18-ctaA,
  .viewc9e18-ctaB,
  .viewc9e18-promoCut,
  .viewc9e18-dockItem {
    transition: none;
  }
}
