/* ============================================================
   phvip casino - canvas-native-39ed73.css
   Mobile-first canvas styles (320-430px), prefix c39ed7-
   Palette: ink #212F3D | cream #FFDFBA | mint #BAFFC9
            flame #FF8000 | lagoon #20B2AA
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --c39ed7-ink: #212F3D;
  --c39ed7-ink-deep: #16212c;
  --c39ed7-ink-soft: #2b3d4e;
  --c39ed7-cream: #FFDFBA;
  --c39ed7-mint: #BAFFC9;
  --c39ed7-flame: #FF8000;
  --c39ed7-lagoon: #20B2AA;
  --c39ed7-line: rgba(255, 223, 186, 0.16);
  --c39ed7-radius: 6px;
  --c39ed7-radius-sm: 4px;
  --c39ed7-gap: 8px;
  --c39ed7-pad: 12px;
  --c39ed7-head-h: 56px;
  --c39ed7-dock-h: 62px;
  --c39ed7-font-head: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --c39ed7-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --c39ed7-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ---------- canvas shell ---------- */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #0e161e;
  font-family: var(--c39ed7-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--c39ed7-cream);
}

.c39ed7-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c39ed7-ink);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .c39ed7-page {
    box-shadow: 0 0 0 1px var(--c39ed7-line), 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

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

a {
  color: var(--c39ed7-mint);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Generic focus ring so keyboard users always see the target */
.c39ed7-page a:focus-visible,
.c39ed7-page button:focus-visible {
  outline: 2px solid var(--c39ed7-flame);
  outline-offset: 2px;
  border-radius: var(--c39ed7-radius-sm);
}

/* ---------- main column ---------- */
.c39ed7-main {
  padding: calc(var(--c39ed7-head-h) + 10px) var(--c39ed7-pad) calc(var(--c39ed7-dock-h) + 34px);
}

.c39ed7-menu-locked {
  overflow: hidden;
}

/* ---------- compact brand bar ---------- */
.c39ed7-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(22, 33, 44, 0.96);
  border-bottom: 1px solid var(--c39ed7-line);
}

.c39ed7-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--c39ed7-head-h);
  padding: 8px var(--c39ed7-pad);
}

.c39ed7-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--c39ed7-cream);
}

.c39ed7-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--c39ed7-flame);
  flex: 0 0 auto;
}

.c39ed7-brand-name {
  font-family: var(--c39ed7-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c39ed7-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.c39ed7-btn-register {
  font-family: var(--c39ed7-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1b1206;
  background: var(--c39ed7-flame);
  border: 1px solid var(--c39ed7-flame);
  border-radius: var(--c39ed7-radius-sm);
  padding: 9px 12px;
  min-height: 44px;
  cursor: pointer;
}

.c39ed7-btn-login {
  font-family: var(--c39ed7-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--c39ed7-mint);
  background: transparent;
  border: 1px solid var(--c39ed7-lagoon);
  border-radius: var(--c39ed7-radius-sm);
  padding: 9px 12px;
  min-height: 44px;
  cursor: pointer;
}

.c39ed7-btn-register:active {
  transform: translateY(1px);
}

.c39ed7-btn-login:active {
  transform: translateY(1px);
}

/* Hamburger button with morph-to-cross micro interaction */
.c39ed7-menubtn {
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--c39ed7-ink-soft);
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius-sm);
  cursor: pointer;
  flex: 0 0 auto;
}

.c39ed7-menubtn-line {
  position: absolute;
  left: 10px;
  width: 18px;
  height: 2px;
  background: var(--c39ed7-cream);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.c39ed7-menubtn-line-1 { top: 15px; }
.c39ed7-menubtn-line-2 { top: 21px; }
.c39ed7-menubtn-line-3 { top: 27px; }

.c39ed7-menubtn-x .c39ed7-menubtn-line-1 {
  top: 21px;
  transform: rotate(45deg);
}

.c39ed7-menubtn-x .c39ed7-menubtn-line-2 {
  opacity: 0;
}

.c39ed7-menubtn-x .c39ed7-menubtn-line-3 {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- sectioned menu page ---------- */
.c39ed7-menupanel {
  position: fixed;
  top: var(--c39ed7-head-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - var(--c39ed7-head-h));
  overflow-y: auto;
  z-index: 55;
  background: var(--c39ed7-ink-deep);
  border-bottom: 2px solid var(--c39ed7-flame);
  padding: 10px var(--c39ed7-pad) 18px;
  box-sizing: border-box;
  display: none;
}

.c39ed7-menupanel.c39ed7-open {
  display: block;
  animation: c39ed7-drop 0.22s ease both;
}

@keyframes c39ed7-drop {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.c39ed7-menusec {
  margin-bottom: 12px;
}

.c39ed7-menusec-title {
  font-family: var(--c39ed7-font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--c39ed7-lagoon);
  margin: 12px 2px 6px;
}

.c39ed7-menulink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius-sm);
  margin-bottom: 6px;
  color: var(--c39ed7-cream);
  background: rgba(255, 223, 186, 0.03);
  font-size: 14px;
}

.c39ed7-menulink:hover {
  text-decoration: none;
  border-color: var(--c39ed7-lagoon);
}

.c39ed7-menulink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c39ed7-flame);
  flex: 0 0 auto;
}

.c39ed7-menulink-soft .c39ed7-menulink-dot { background: var(--c39ed7-lagoon); }
.c39ed7-menulink-mint .c39ed7-menulink-dot { background: #7ddc9b; }

.c39ed7-menulink-arrow {
  margin-left: auto;
  color: var(--c39ed7-lagoon);
  font-size: 12px;
}

.c39ed7-menupromo {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.c39ed7-menupromo-register,
.c39ed7-menupromo-login {
  flex: 1;
  font-family: var(--c39ed7-font-head);
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  border-radius: var(--c39ed7-radius-sm);
  cursor: pointer;
}

.c39ed7-menupromo-register {
  color: #1b1206;
  background: var(--c39ed7-flame);
  border: 1px solid var(--c39ed7-flame);
}

.c39ed7-menupromo-login {
  color: var(--c39ed7-mint);
  background: transparent;
  border: 1px solid var(--c39ed7-lagoon);
}

/* ---------- hero ---------- */
.c39ed7-hero {
  padding: 6px 0 2px;
}

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

.c39ed7-hero-title {
  font-family: var(--c39ed7-font-head);
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #fff3e2;
}

.c39ed7-hero-sub {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 223, 186, 0.88);
}

.c39ed7-hero-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.c39ed7-cta-solid {
  font-family: var(--c39ed7-font-head);
  font-size: 14px;
  font-weight: 700;
  color: #1b1206;
  background: var(--c39ed7-flame);
  border: 1px solid var(--c39ed7-flame);
  border-radius: var(--c39ed7-radius);
  padding: 12px 18px;
  min-height: 46px;
  cursor: pointer;
}

.c39ed7-cta-outline {
  font-family: var(--c39ed7-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--c39ed7-mint);
  background: transparent;
  border: 1px solid var(--c39ed7-lagoon);
  border-radius: var(--c39ed7-radius);
  padding: 12px 16px;
  min-height: 46px;
  cursor: pointer;
}

.c39ed7-hero-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 223, 186, 0.62);
}

/* ---------- promo carousel ---------- */
.c39ed7-carousel {
  position: relative;
  margin: 16px 0 4px;
  border-radius: var(--c39ed7-radius);
  overflow: hidden;
  border: 1px solid var(--c39ed7-line);
  background: var(--c39ed7-ink-deep);
}

.c39ed7-slidewrap {
  position: relative;
  aspect-ratio: 16 / 9;
}

.c39ed7-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(6%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--c39ed7-ink-deep);
  width: 100%;
  text-align: left;
}

.c39ed7-slide.c39ed7-on {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

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

.c39ed7-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(22, 33, 44, 0) 0%, rgba(22, 33, 44, 0.92) 78%);
  font-family: var(--c39ed7-font-head);
  color: #fff3e2;
  font-size: 13px;
  font-weight: 700;
}

.c39ed7-slide-cap-tag {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1b1206;
  background: var(--c39ed7-flame);
  border-radius: 3px;
  padding: 3px 7px;
}

.c39ed7-dotrow {
  position: relative;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 9px 0 10px;
  background: rgba(22, 33, 44, 0.6);
}

.c39ed7-dot {
  width: 26px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.c39ed7-dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 16px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 223, 186, 0.28);
}

/* Sliding focus indicator under the active dot (position set by JS) */
.c39ed7-dotglide {
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 5px;
  border-radius: 3px;
  background: var(--c39ed7-flame);
  transition: transform 0.32s ease;
}

/* ---------- category chip strip ---------- */
.c39ed7-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 4px;
  scrollbar-width: none;
}

.c39ed7-chips::-webkit-scrollbar {
  display: none;
}

.c39ed7-chip {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--c39ed7-cream);
  border: 1px solid var(--c39ed7-line);
  border-radius: 999px;
  padding: 10px 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 223, 186, 0.05);
}

.c39ed7-chip:hover {
  text-decoration: none;
  border-color: var(--c39ed7-flame);
  color: #fff3e2;
}

/* ---------- content sections ---------- */
.c39ed7-sec {
  margin: 22px 0;
}

.c39ed7-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-left: 4px solid var(--c39ed7-flame);
  padding-left: 10px;
  margin-bottom: 8px;
}

.c39ed7-sec-acc-lagoon .c39ed7-sec-head { border-left-color: var(--c39ed7-lagoon); }
.c39ed7-sec-acc-mint .c39ed7-sec-head { border-left-color: #7ddc9b; }
.c39ed7-sec-acc-cream .c39ed7-sec-head { border-left-color: var(--c39ed7-cream); }

.c39ed7-sec-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c39ed7-lagoon);
  white-space: nowrap;
}

.c39ed7-sec-title {
  font-family: var(--c39ed7-font-head);
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  color: #fff3e2;
}

.c39ed7-sec-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: rgba(255, 223, 186, 0.85);
}

.c39ed7-sec-lead a {
  color: var(--c39ed7-mint);
  font-weight: 600;
}

.c39ed7-count {
  font-size: 11px;
  color: rgba(255, 223, 186, 0.55);
  margin: 0 0 10px;
}

/* ---------- game tile grid (4 columns) ---------- */
.c39ed7-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--c39ed7-gap);
}

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

.c39ed7-tile {
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius);
  background: var(--c39ed7-ink-soft);
  padding: 5px 5px 6px;
  cursor: pointer;
  min-width: 0;
}

.c39ed7-tile:active {
  border-color: var(--c39ed7-flame);
  transform: translateY(1px);
}

.c39ed7-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--c39ed7-radius-sm);
}

.c39ed7-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--c39ed7-cream);
  text-align: center;
  margin-top: 5px;
  min-height: 27px;
}

/* ---------- hot ranked bars (2 columns, icon + name strip) ---------- */
.c39ed7-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c39ed7-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius);
  background: linear-gradient(90deg, rgba(255, 128, 0, 0.14), rgba(255, 128, 0, 0.03));
  padding: 6px 8px 6px 6px;
  cursor: pointer;
  min-width: 0;
  min-height: 58px;
  text-align: left;
}

.c39ed7-bar:active {
  border-color: var(--c39ed7-flame);
}

.c39ed7-bar-rank {
  flex: 0 0 auto;
  font-family: var(--c39ed7-font-head);
  font-size: 11px;
  font-weight: 700;
  color: #1b1206;
  background: var(--c39ed7-flame);
  border-radius: 3px;
  padding: 3px 5px;
}

.c39ed7-bar img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--c39ed7-radius-sm);
  object-fit: cover;
}

.c39ed7-bar-name {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--c39ed7-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

/* ---------- live dealer rail (horizontal snap scroll) ---------- */
.c39ed7-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.c39ed7-rail::-webkit-scrollbar {
  display: none;
}

.c39ed7-railcard {
  flex: 0 0 auto;
  width: 136px;
  scroll-snap-align: start;
  border: 1px solid var(--c39ed7-line);
  border-top: 3px solid var(--c39ed7-lagoon);
  border-radius: var(--c39ed7-radius);
  background: var(--c39ed7-ink-soft);
  padding: 6px;
  cursor: pointer;
  text-align: left;
}

.c39ed7-railcard:active {
  border-color: var(--c39ed7-lagoon);
}

.c39ed7-railcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--c39ed7-radius-sm);
}

.c39ed7-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c39ed7-mint);
  margin: 6px 0 2px;
}

.c39ed7-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c39ed7-lagoon);
  animation: c39ed7-pulse 1.6s ease-in-out infinite;
}

@keyframes c39ed7-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.c39ed7-rail-name {
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--c39ed7-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
}

/* ---------- slot strips (2 columns, wide icon-name bars) ---------- */
.c39ed7-strips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.c39ed7-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--c39ed7-line);
  border-left: 3px solid var(--c39ed7-lagoon);
  border-radius: var(--c39ed7-radius-sm);
  background: var(--c39ed7-ink-soft);
  padding: 6px 8px 6px 6px;
  min-height: 56px;
  cursor: pointer;
  min-width: 0;
  text-align: left;
}

.c39ed7-strip:active {
  border-color: var(--c39ed7-lagoon);
}

.c39ed7-strip img {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--c39ed7-radius-sm);
  object-fit: cover;
}

.c39ed7-strip-name {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--c39ed7-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

/* ---------- info panels and modules ---------- */
.c39ed7-panel {
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius);
  background: var(--c39ed7-ink-soft);
  padding: 14px 12px;
  margin: 12px 0;
}

.c39ed7-panel-h {
  font-family: var(--c39ed7-font-head);
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--c39ed7-mint);
}

.c39ed7-panel p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: rgba(255, 223, 186, 0.9);
}

.c39ed7-panel p:last-child {
  margin-bottom: 0;
}

/* Steps list for access / how-to modules */
.c39ed7-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  counter-reset: c39ed7-step;
}

.c39ed7-steps li {
  position: relative;
  counter-increment: c39ed7-step;
  padding: 0 0 12px 34px;
  font-size: 13.5px;
  color: rgba(255, 223, 186, 0.9);
}

.c39ed7-steps li:last-child {
  padding-bottom: 0;
}

.c39ed7-steps li::before {
  content: counter(c39ed7-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c39ed7-flame);
  color: #1b1206;
  font-family: var(--c39ed7-font-head);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c39ed7-steps li::after {
  content: "";
  position: absolute;
  left: 11.5px;
  top: 28px;
  bottom: 2px;
  width: 1px;
  background: var(--c39ed7-line);
}

.c39ed7-steps li:last-child::after {
  display: none;
}

/* Mini question blocks used by guidance modules */
.c39ed7-qa {
  border-top: 1px dashed var(--c39ed7-line);
  padding-top: 10px;
  margin-top: 10px;
}

.c39ed7-qa-h {
  font-family: var(--c39ed7-font-head);
  font-size: 14px;
  margin: 0 0 4px;
  color: #fff3e2;
}

.c39ed7-qa p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 223, 186, 0.9);
}

/* Promo text links inside modules */
.c39ed7-inline-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.c39ed7-inline-cta .c39ed7-cta-solid,
.c39ed7-inline-cta .c39ed7-cta-outline {
  font-size: 13px;
  padding: 11px 14px;
}

/* ---------- homepage extended footer ---------- */
.c39ed7-xfoot {
  margin: 26px 0 0;
  border-top: 2px solid var(--c39ed7-lagoon);
  background: var(--c39ed7-ink-deep);
  padding: 16px var(--c39ed7-pad) 18px;
}

.c39ed7-xfoot-title {
  font-family: var(--c39ed7-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c39ed7-lagoon);
  margin: 0 0 10px;
}

.c39ed7-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-bottom: 18px;
}

.c39ed7-dirlink {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--c39ed7-cream);
  background: rgba(255, 223, 186, 0.04);
}

.c39ed7-dirlink:hover {
  text-decoration: none;
  border-color: var(--c39ed7-flame);
}

.c39ed7-dirlink::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--c39ed7-lagoon);
  flex: 0 0 auto;
}

.c39ed7-brandnote {
  font-size: 12.5px;
  color: rgba(255, 223, 186, 0.78);
  border: 1px dashed var(--c39ed7-line);
  border-radius: var(--c39ed7-radius-sm);
  padding: 10px 11px;
  margin-bottom: 18px;
}

.c39ed7-promogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.c39ed7-promoact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 8px;
  border-radius: var(--c39ed7-radius-sm);
  font-family: var(--c39ed7-font-head);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--c39ed7-line);
  background: rgba(255, 223, 186, 0.05);
  color: var(--c39ed7-cream);
}

.c39ed7-promoact-solid {
  background: var(--c39ed7-flame);
  border-color: var(--c39ed7-flame);
  color: #1b1206;
}

.c39ed7-promoact-line {
  border-color: var(--c39ed7-lagoon);
  color: var(--c39ed7-mint);
}

.c39ed7-promoact:active {
  transform: translateY(1px);
}

.c39ed7-disclaim {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 223, 186, 0.6);
  border-left: 3px solid var(--c39ed7-flame);
  padding-left: 9px;
}

/* ---------- common footer ---------- */
.c39ed7-foot {
  border-top: 1px solid var(--c39ed7-line);
  padding: 14px var(--c39ed7-pad) 10px;
  text-align: center;
}

.c39ed7-copy {
  font-size: 11.5px;
  color: rgba(255, 223, 186, 0.6);
  margin: 0;
}

/* ---------- segmented mobile action dock ---------- */
.c39ed7-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(22, 33, 44, 0.98);
  border-top: 1px solid var(--c39ed7-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.c39ed7-dock-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--c39ed7-dock-h);
}

.c39ed7-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--c39ed7-dock-h);
  color: rgba(255, 223, 186, 0.68);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px 2px 8px;
}

.c39ed7-dockitem + .c39ed7-dockitem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--c39ed7-line);
}

.c39ed7-dockicon {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
}

.c39ed7-dockicon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.c39ed7-docklabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Active role: color switch plus a light icon morph */
.c39ed7-dockitem.c39ed7-on {
  color: var(--c39ed7-flame);
}

.c39ed7-dockitem.c39ed7-on .c39ed7-dockicon {
  transform: translateY(-1px) scale(1.12);
}

.c39ed7-dockitem.c39ed7-on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--c39ed7-flame);
}

.c39ed7-dockitem:hover {
  text-decoration: none;
  color: var(--c39ed7-cream);
}

.c39ed7-dockitem.c39ed7-on:hover {
  color: var(--c39ed7-flame);
}

.c39ed7-dockitem:active .c39ed7-dockicon {
  transform: scale(0.92);
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .c39ed7-slide,
  .c39ed7-dotglide,
  .c39ed7-menubtn-line,
  .c39ed7-dockicon,
  .c39ed7-live-dot {
    transition: none;
    animation: none;
  }
}

/* ---------- help pages ---------- */
.c39ed7-menulink[aria-current="page"] {
  border-color: var(--c39ed7-flame);
  color: #fff3e2;
  background: rgba(255, 128, 0, 0.14);
}

.c39ed7-helph,
.c39ed7-deskh {
  font-family: var(--c39ed7-font-head);
  font-size: 18px;
  line-height: 1.3;
  margin: 22px 0 8px;
  color: #fff3e2;
  overflow-wrap: anywhere;
}

.c39ed7-helph {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c39ed7-line);
}

.c39ed7-deskh {
  background: linear-gradient(90deg, rgba(32, 178, 170, 0.28), transparent 88%);
  padding: 8px 10px;
  border-radius: var(--c39ed7-radius-sm);
}

.c39ed7-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: rgba(255, 223, 186, 0.9);
  overflow-wrap: anywhere;
}

.c39ed7-note a {
  font-weight: 700;
}

.c39ed7-board {
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius);
  background: linear-gradient(180deg, rgba(255, 128, 0, 0.18), rgba(32, 178, 170, 0.05) 46%, transparent 46%);
  padding: 14px 12px 12px;
}

.c39ed7-board-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #1b1206;
  background: var(--c39ed7-cream);
  border-radius: var(--c39ed7-radius-sm);
  padding: 3px 8px;
  margin-bottom: 8px;
}

.c39ed7-board h1,
.c39ed7-verdict h1 {
  font-family: var(--c39ed7-font-head);
  font-size: 22px;
  line-height: 1.28;
  margin: 0 0 8px;
  color: #fff3e2;
  overflow-wrap: anywhere;
}

.c39ed7-shot {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--c39ed7-mint);
}

.c39ed7-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--c39ed7-radius);
}

.c39ed7-shot span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  padding-top: 8px;
}

.c39ed7-askrow {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px;
  border-radius: var(--c39ed7-radius);
  background: var(--c39ed7-ink-soft);
  border: 1px solid var(--c39ed7-line);
}

.c39ed7-askmark {
  width: 44px;
  height: 44px;
  border-radius: var(--c39ed7-radius-sm);
  background: var(--c39ed7-lagoon);
  color: #062421;
  font-family: var(--c39ed7-font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c39ed7-askrow h3,
.c39ed7-fault h3,
.c39ed7-gloss h3,
.c39ed7-fork h3,
.c39ed7-pack h3,
.c39ed7-versus h3 {
  margin: 0 0 4px;
  font-family: var(--c39ed7-font-head);
  font-size: 15px;
  line-height: 1.35;
  color: #fff3e2;
  overflow-wrap: anywhere;
}

.c39ed7-askrow p,
.c39ed7-fault p,
.c39ed7-gloss p,
.c39ed7-fork p,
.c39ed7-pack p,
.c39ed7-versus p,
.c39ed7-rule p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 223, 186, 0.9);
}

.c39ed7-fault {
  margin: 0 0 8px;
  border-left: 4px solid var(--c39ed7-flame);
  background: rgba(255, 128, 0, 0.07);
  border-radius: 0 var(--c39ed7-radius) var(--c39ed7-radius) 0;
  padding: 10px 10px 10px 12px;
}

.c39ed7-fault-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.c39ed7-pill {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid var(--c39ed7-line);
  color: var(--c39ed7-mint);
}

.c39ed7-kit {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.c39ed7-kit li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--c39ed7-line);
  border-radius: var(--c39ed7-radius-sm);
  background: rgba(186, 255, 201, 0.04);
  font-size: 13.5px;
}

.c39ed7-kit li span {
  width: 28px;
  height: 28px;
  border-radius: var(--c39ed7-radius-sm);
  background: var(--c39ed7-mint);
  color: #102018;
  font-family: var(--c39ed7-font-head);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c39ed7-versus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.c39ed7-versus article {
  border-radius: var(--c39ed7-radius);
  padding: 12px;
  border: 1px solid var(--c39ed7-line);
}

.c39ed7-pro { background: rgba(186, 255, 201, 0.08); }
.c39ed7-pro h3 { color: var(--c39ed7-mint); }
.c39ed7-cap { background: rgba(255, 128, 0, 0.1); }
.c39ed7-cap h3 { color: var(--c39ed7-flame); }

.c39ed7-rule {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c39ed7-line);
}

.c39ed7-rule b {
  font-family: var(--c39ed7-font-head);
  color: var(--c39ed7-flame);
  font-size: 13px;
}

.c39ed7-verdict {
  background: var(--c39ed7-ink-deep);
  border: 1px solid var(--c39ed7-lagoon);
  border-radius: var(--c39ed7-radius);
  padding: 14px 12px;
}

.c39ed7-scoreline {
  display: flex;
  gap: 6px;
  margin: 0 0 8px;
}

.c39ed7-scoreline span {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: var(--c39ed7-radius-sm);
  border: 1px solid var(--c39ed7-line);
  color: var(--c39ed7-cream);
}

.c39ed7-score-on {
  background: var(--c39ed7-flame);
  color: #1b1206;
  border-color: var(--c39ed7-flame);
}

.c39ed7-yesno {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.c39ed7-yesno li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(32, 178, 170, 0.45);
  font-size: 13.5px;
}

.c39ed7-tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--c39ed7-lagoon);
  border-radius: 3px;
  color: var(--c39ed7-mint);
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

.c39ed7-gloss {
  margin: 0 0 8px;
  padding: 10px 10px 10px 12px;
  border-top: 3px solid var(--c39ed7-cream);
  background: rgba(255, 223, 186, 0.05);
  border-radius: 0 0 var(--c39ed7-radius) var(--c39ed7-radius);
}

.c39ed7-route {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: c39ed7-route;
}

.c39ed7-route li {
  counter-increment: c39ed7-route;
  margin: 0 0 8px;
  padding: 10px;
  border-radius: var(--c39ed7-radius-sm);
  background: var(--c39ed7-ink-soft);
  border: 1px solid var(--c39ed7-line);
  font-size: 13.5px;
}

.c39ed7-route li::before {
  content: counter(c39ed7-route);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--c39ed7-lagoon);
  color: #062421;
  font-family: var(--c39ed7-font-head);
  font-weight: 700;
  font-size: 13px;
  vertical-align: middle;
}

.c39ed7-fork {
  display: grid;
  gap: 8px;
}

.c39ed7-fork article {
  padding: 12px;
  border-radius: var(--c39ed7-radius);
  border: 1px dashed var(--c39ed7-lagoon);
}

.c39ed7-pack {
  padding: 12px;
  border-radius: var(--c39ed7-radius);
  background: rgba(32, 178, 170, 0.1);
  border: 1px solid var(--c39ed7-line);
}

@media (min-width: 380px) {
  .c39ed7-versus {
    grid-template-columns: 1fr 1fr;
  }
}
