/* ============================================================
   juan 365 casino - surface adaptive stylesheet
   Canvas: 320-430px mobile first, centered phone frame on wide screens
   Palette: #FFEFD5 text / #262626 base / #FFDEAD accent / #DEB887 gold
   All classes share the view65101- prefix.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --view65101-bg: #262626;
  --view65101-bg-deep: #1e1c1b;
  --view65101-panel: #2e2b29;
  --view65101-panel-2: #332f2c;
  --view65101-text: #FFEFD5;
  --view65101-text-dim: #d9c9ac;
  --view65101-accent: #FFDEAD;
  --view65101-gold: #DEB887;
  --view65101-line: rgba(222, 184, 135, 0.32);
  --view65101-line-soft: rgba(222, 184, 135, 0.18);
  --view65101-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
  --view65101-radius: 18px;
  --view65101-radius-sm: 12px;
  --view65101-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #171615;
  color: var(--view65101-text);
  font-family: var(--view65101-font);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--view65101-accent);
  text-decoration: none;
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}
button {
  font-family: inherit;
}
:focus-visible {
  outline: 2px solid var(--view65101-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Centered phone canvas: the frame never grows past 430px */
.view65101-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(255, 222, 173, 0.10), transparent 60%),
    var(--view65101-bg);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}
.view65101-main {
  padding: 12px 12px calc(96px + env(safe-area-inset-bottom));
}
.view65101-skip {
  position: absolute;
  left: -999px;
  top: 6px;
  z-index: 200;
  background: var(--view65101-accent);
  color: #262626;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
}
.view65101-skip:focus {
  left: 10px;
}

/* ---------- header (edge aligned functional band) ---------- */
.view65101-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.98), rgba(38, 38, 38, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--view65101-line);
  padding: 8px 10px 10px;
}
.view65101-hrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.view65101-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--view65101-text);
}
.view65101-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--view65101-line);
  flex: none;
}
.view65101-bname {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.view65101-burger {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--view65101-panel);
  border: 1px solid var(--view65101-line);
  border-radius: var(--view65101-radius-sm);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.view65101-burger:active {
  transform: scale(0.92);
}
.view65101-bname-bar,
.view65101-burger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--view65101-accent);
}
.view65101-hactions {
  margin-top: 8px;
}
.view65101-hactions .view65101-btn {
  flex: 1;
}

/* ---------- buttons (split dual CTA) ---------- */
.view65101-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, filter 0.16s ease, background 0.16s ease;
}
.view65101-btn:active {
  transform: scale(0.94);
}
.view65101-btn-solid {
  background: linear-gradient(180deg, #ffe9c2, var(--view65101-accent) 55%, var(--view65101-gold));
  color: #33270f;
  box-shadow: 0 6px 16px rgba(255, 222, 173, 0.22);
}
.view65101-btn-line {
  background: rgba(255, 239, 213, 0.05);
  border-color: var(--view65101-gold);
  color: var(--view65101-accent);
}
.view65101-btn-wide {
  width: 100%;
}

/* ---------- stacked overlay menu ---------- */
.view65101-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -104%);
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  overflow-y: auto;
  background: linear-gradient(180deg, #2b2927 0%, #232121 100%);
  border-right: 1px solid var(--view65101-line-soft);
  border-left: 1px solid var(--view65101-line-soft);
  z-index: 120;
  padding: 14px 14px calc(24px + env(safe-area-inset-bottom));
  transition: transform 0.28s ease, visibility 0.28s;
  visibility: hidden;
}
.view65101-menu-open {
  transform: translate(-50%, 0);
  visibility: visible;
}
.view65101-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.view65101-menu-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--view65101-accent);
  margin: 0;
}
.view65101-menu-close {
  width: 44px;
  height: 44px;
  border-radius: var(--view65101-radius-sm);
  border: 1px solid var(--view65101-line);
  background: var(--view65101-panel);
  color: var(--view65101-accent);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease;
}
.view65101-menu-close:active {
  transform: scale(0.92);
}
.view65101-mgroup {
  margin: 12px 0 4px;
}
.view65101-mlabel {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--view65101-gold);
  margin: 0 4px 6px;
}
.view65101-mlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  margin: 5px 0;
  border-radius: var(--view65101-radius-sm);
  background: rgba(255, 239, 213, 0.045);
  border: 1px solid var(--view65101-line-soft);
  color: var(--view65101-text);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.view65101-mlink:active {
  transform: scale(0.97);
}
.view65101-mlink:hover {
  background: rgba(255, 222, 173, 0.10);
  text-decoration: none;
  border-color: var(--view65101-line);
}
.view65101-mlink-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--view65101-gold);
  box-shadow: 0 0 0 3px rgba(222, 184, 135, 0.18);
}
.view65101-mlink-home .view65101-mlink-dot {
  background: var(--view65101-accent);
}

/* ---------- hero ---------- */
.view65101-hero {
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(255, 222, 173, 0.14), transparent 62%),
    linear-gradient(165deg, var(--view65101-panel-2), var(--view65101-panel));
  border: 1px solid var(--view65101-line);
  border-radius: var(--view65101-radius);
  box-shadow: var(--view65101-shadow);
  padding: 16px 14px;
  margin: 2px 0 14px;
}
.view65101-h1 {
  font-size: 21px;
  line-height: 1.28;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--view65101-accent);
}
.view65101-hero p {
  margin: 0 0 14px;
  color: var(--view65101-text-dim);
  font-size: 14px;
}
.view65101-cta {
  display: flex;
  gap: 10px;
}
.view65101-cta .view65101-btn {
  flex: 1;
}
.view65101-hero-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: rgba(217, 201, 172, 0.75);
}

/* ---------- carousel ---------- */
.view65101-carousel {
  position: relative;
  margin: 0 0 14px;
  border-radius: var(--view65101-radius);
  overflow: hidden;
  border: 1px solid var(--view65101-line);
  box-shadow: var(--view65101-shadow);
  background: var(--view65101-bg-deep);
}
.view65101-track {
  position: relative;
  width: 100%;
  aspect-ratio: 430 / 178;
  overflow: hidden;
}
.view65101-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(6%) scale(1.02);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.view65101-slide-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}
.view65101-slide-hit {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.view65101-slide-hit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view65101-slide-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(30, 28, 27, 0.82);
  border: 1px solid var(--view65101-line-soft);
  color: var(--view65101-text);
  pointer-events: none;
}
.view65101-slide-cap strong {
  font-size: 13px;
  color: var(--view65101-accent);
}
.view65101-slide-cap span {
  font-size: 11px;
  color: var(--view65101-text-dim);
}
.view65101-cnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--view65101-line);
  background: rgba(30, 28, 27, 0.72);
  color: var(--view65101-accent);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.16s ease;
}
.view65101-cnav:active {
  transform: translateY(-50%) scale(0.9);
}
.view65101-cprev {
  left: 6px;
}
.view65101-cnext {
  right: 6px;
}
.view65101-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 4;
}
.view65101-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.view65101-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 239, 213, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}
.view65101-dot-on::after {
  background: var(--view65101-accent);
  transform: scale(1.25);
}

/* ---------- category chip strip ---------- */
.view65101-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  margin: 0 0 4px;
}
.view65101-chips::-webkit-scrollbar {
  display: none;
}
.view65101-chip {
  flex: none;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 239, 213, 0.05);
  border: 1px solid var(--view65101-line-soft);
  color: var(--view65101-text-dim);
  font-size: 12.5px;
  font-weight: 700;
  transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.view65101-chip:active {
  transform: scale(0.94);
}
.view65101-chip:hover {
  color: var(--view65101-accent);
  border-color: var(--view65101-line);
  text-decoration: none;
}

/* ---------- sections ---------- */
.view65101-sec {
  margin: 18px 0 0;
  scroll-margin-top: 118px;
}
.view65101-h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--view65101-text);
  margin: 0 0 8px;
}
.view65101-h2::before {
  content: "";
  flex: none;
  width: 5px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--view65101-accent), var(--view65101-gold));
}
.view65101-sec-intro {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--view65101-text-dim);
}
.view65101-h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--view65101-accent);
  margin: 14px 0 6px;
}

/* ---------- help-page structures ---------- */
.view65101-kicker {
  margin: 0 0 7px;
  color: var(--view65101-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.view65101-fact-strip,
.view65101-route-grid,
.view65101-term-grid,
.view65101-next-grid,
.view65101-branch-list,
.view65101-payment-flow {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.view65101-fact-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.view65101-fact-strip > div {
  padding: 10px 8px;
  background: rgba(255, 239, 213, 0.05);
  border-top: 2px solid var(--view65101-gold);
}
.view65101-fact-strip strong,
.view65101-fact-strip span {
  display: block;
}
.view65101-fact-strip strong {
  color: var(--view65101-accent);
  font-size: 12px;
}
.view65101-fact-strip span {
  margin-top: 4px;
  color: var(--view65101-text-dim);
  font-size: 10.5px;
  line-height: 1.35;
}
.view65101-route-grid {
  grid-template-columns: 1fr 1fr;
}
.view65101-route-card,
.view65101-next-grid a,
.view65101-next-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 44px;
  padding: 11px 10px;
  color: var(--view65101-text);
  text-align: left;
  background: rgba(255, 239, 213, 0.05);
  border: 1px solid var(--view65101-line-soft);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.view65101-route-card:active,
.view65101-next-grid a:active,
.view65101-next-grid button:active {
  transform: scale(0.97);
}
.view65101-route-card:hover,
.view65101-next-grid a:hover,
.view65101-next-grid button:hover {
  border-color: var(--view65101-line);
  text-decoration: none;
}
.view65101-route-number {
  color: var(--view65101-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}
.view65101-route-card strong,
.view65101-next-grid strong {
  color: var(--view65101-accent);
  font-size: 13px;
}
.view65101-route-card span:last-child,
.view65101-next-grid span {
  color: var(--view65101-text-dim);
  font-size: 11.5px;
  line-height: 1.4;
}
.view65101-term-grid {
  grid-template-columns: 1fr 1fr;
}
.view65101-term {
  padding: 11px 10px;
  background: rgba(255, 239, 213, 0.04);
  border-left: 3px solid var(--view65101-gold);
}
.view65101-term h3,
.view65101-guide-columns h3,
.view65101-troubleshoot h3,
.view65101-payment-flow h3,
.view65101-branch-list h3 {
  margin: 0 0 4px;
  color: var(--view65101-accent);
  font-size: 13px;
}
.view65101-term p,
.view65101-guide-columns p,
.view65101-troubleshoot p,
.view65101-payment-flow p,
.view65101-branch-list p {
  margin: 0;
  color: var(--view65101-text-dim);
  font-size: 12px;
  line-height: 1.5;
}
.view65101-guide-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.view65101-mini-list {
  margin: 0;
  padding: 0 0 0 16px;
  color: var(--view65101-text-dim);
  font-size: 11.5px;
  line-height: 1.45;
}
.view65101-mini-list li + li {
  margin-top: 5px;
}
.view65101-troubleshoot article {
  display: flex;
  gap: 10px;
  padding: 11px 10px;
  border-bottom: 1px solid var(--view65101-line-soft);
}
.view65101-alert-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--view65101-gold);
  color: var(--view65101-accent);
  font-size: 11px;
  font-weight: 900;
}
.view65101-compare {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--view65101-line-soft);
}
.view65101-compare-head,
.view65101-compare-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  min-width: 390px;
}
.view65101-compare-head {
  color: var(--view65101-accent);
  background: rgba(255, 222, 173, 0.09);
  font-size: 10.5px;
  font-weight: 800;
}
.view65101-compare-row {
  border-top: 1px solid var(--view65101-line-soft);
  color: var(--view65101-text-dim);
  font-size: 10.5px;
  line-height: 1.4;
}
.view65101-compare-head span,
.view65101-compare-row > * {
  padding: 9px 7px;
  border-right: 1px solid var(--view65101-line-soft);
}
.view65101-compare-row strong {
  color: var(--view65101-text);
}
.view65101-note {
  margin: 10px 0;
  padding: 9px 10px;
  border-left: 3px solid var(--view65101-gold);
  background: rgba(222, 184, 135, 0.08);
  color: var(--view65101-text-dim);
  font-size: 11.5px;
}
.view65101-payment-flow {
  grid-template-columns: 1fr 1fr;
}
.view65101-payment-flow > div {
  padding: 11px 10px;
  background: rgba(255, 239, 213, 0.045);
  border-top: 1px solid var(--view65101-line);
}
.view65101-payment-flow b {
  color: var(--view65101-gold);
  font-size: 11px;
}
.view65101-next-grid {
  grid-template-columns: 1fr 1fr;
}
.view65101-branch-list {
  grid-template-columns: 1fr 1fr;
}
.view65101-branch-list article {
  padding: 11px 10px;
  background: rgba(255, 239, 213, 0.045);
  border: 1px solid var(--view65101-line-soft);
}
.view65101-review-board {
  overflow: hidden;
}
.view65101-board {
  overflow-x: auto;
  border: 1px solid var(--view65101-line-soft);
  margin: 12px 0;
}
.view65101-board-head,
.view65101-board-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  min-width: 420px;
}
.view65101-board-head {
  color: var(--view65101-accent);
  background: rgba(255, 222, 173, 0.09);
  font-size: 10.5px;
  font-weight: 800;
}
.view65101-board-row {
  border-top: 1px solid var(--view65101-line-soft);
  color: var(--view65101-text-dim);
  font-size: 10.5px;
  line-height: 1.4;
}
.view65101-board-head span,
.view65101-board-row > * {
  padding: 9px 7px;
  border-right: 1px solid var(--view65101-line-soft);
}
.view65101-board-row strong {
  color: var(--view65101-text);
}
.view65101-takeaway-list {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}
.view65101-takeaway-list p {
  margin: 0;
  padding: 8px 9px;
  background: rgba(255, 239, 213, 0.045);
  color: var(--view65101-text-dim);
  font-size: 12px;
}
.view65101-takeaway-list b {
  display: inline-block;
  width: 21px;
  color: var(--view65101-gold);
}

/* ---------- game grid (light floating cards) ---------- */
.view65101-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.view65101-gcard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(255, 239, 213, 0.075), rgba(255, 239, 213, 0.03));
  border: 1px solid var(--view65101-line-soft);
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.view65101-gcard:hover {
  border-color: var(--view65101-line);
}
.view65101-gcard:active {
  transform: scale(0.93);
}
.view65101-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--view65101-bg-deep);
}
.view65101-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--view65101-text);
  min-height: 29px;
}

/* ---------- prose panel ---------- */
.view65101-panel {
  background: linear-gradient(170deg, var(--view65101-panel-2), var(--view65101-panel));
  border: 1px solid var(--view65101-line-soft);
  border-radius: var(--view65101-radius);
  box-shadow: var(--view65101-shadow);
  padding: 15px 14px;
}
.view65101-panel p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--view65101-text-dim);
}
.view65101-panel p:last-child {
  margin-bottom: 0;
}
.view65101-panel strong {
  color: var(--view65101-text);
}

/* play styles comparison */
.view65101-styles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}
.view65101-style {
  background: rgba(255, 239, 213, 0.045);
  border: 1px solid var(--view65101-line-soft);
  border-radius: 14px;
  padding: 11px 10px;
}
.view65101-style h3 {
  margin: 0 0 5px;
  font-size: 13px;
  color: var(--view65101-accent);
}
.view65101-style p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--view65101-text-dim);
}

/* security checklist */
.view65101-checks {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.view65101-checks li {
  position: relative;
  padding: 10px 12px 10px 36px;
  background: rgba(255, 239, 213, 0.045);
  border: 1px solid var(--view65101-line-soft);
  border-radius: var(--view65101-radius-sm);
  font-size: 12.5px;
  color: var(--view65101-text-dim);
}
.view65101-checks li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--view65101-accent);
  border-bottom: 2.5px solid var(--view65101-accent);
  transform: rotate(-45deg);
}
.view65101-checks strong {
  color: var(--view65101-text);
}

/* faq */
.view65101-faq {
  margin-top: 4px;
}
.view65101-faq details {
  background: rgba(255, 239, 213, 0.045);
  border: 1px solid var(--view65101-line-soft);
  border-radius: var(--view65101-radius-sm);
  margin: 8px 0;
  overflow: hidden;
}
.view65101-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 38px 12px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--view65101-text);
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.view65101-faq summary::-webkit-details-marker {
  display: none;
}
.view65101-faq summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--view65101-line);
  color: var(--view65101-accent);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view65101-faq details[open] summary::after {
  content: "-";
}
.view65101-faq p {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 12.5px;
  color: var(--view65101-text-dim);
}

/* scenario steps */
.view65101-steps {
  margin: 10px 0 0;
  padding: 0 0 0 6px;
  list-style: none;
  counter-reset: view65101-step;
}
.view65101-steps li {
  counter-increment: view65101-step;
  position: relative;
  padding: 0 0 12px 36px;
  font-size: 13px;
  color: var(--view65101-text-dim);
}
.view65101-steps li::before {
  content: counter(view65101-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--view65101-accent), var(--view65101-gold));
  color: #33270f;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view65101-steps strong {
  color: var(--view65101-text);
}

/* ---------- homepage extended footer (two-column directory) ---------- */
.view65101-xfoot {
  margin-top: 22px;
  border: 1px solid var(--view65101-line);
  border-radius: var(--view65101-radius);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 222, 173, 0.08), transparent 60%),
    var(--view65101-panel);
  box-shadow: var(--view65101-shadow);
  padding: 16px 13px 14px;
}
.view65101-xfoot h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--view65101-accent);
}
.view65101-xfoot-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
}
.view65101-xfoot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--view65101-line);
  flex: none;
}
.view65101-xfoot-brand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--view65101-text-dim);
}
.view65101-xfoot-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--view65101-gold);
  margin: 14px 0 8px;
}
.view65101-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.view65101-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 8px;
  border-radius: 13px;
  background: rgba(255, 222, 173, 0.07);
  border: 1px solid var(--view65101-line);
  color: var(--view65101-accent);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}
.view65101-promo:active {
  transform: scale(0.94);
}
.view65101-promo svg {
  flex: none;
}
.view65101-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.view65101-dir a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 239, 213, 0.045);
  border: 1px solid var(--view65101-line-soft);
  color: var(--view65101-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.view65101-dir a:active {
  transform: scale(0.96);
}
.view65101-dir a:hover {
  border-color: var(--view65101-line);
  text-decoration: none;
  color: var(--view65101-accent);
}
.view65101-xfoot-note {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-left: 3px solid var(--view65101-gold);
  border-radius: 8px;
  background: rgba(222, 184, 135, 0.08);
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(217, 201, 172, 0.9);
}

/* ---------- common footer ---------- */
.view65101-footer {
  text-align: center;
  padding: 4px 12px 10px;
  font-size: 11.5px;
  color: rgba(217, 201, 172, 0.65);
}
.view65101-footer p {
  margin: 0;
}

/* ---------- fixed bottom navigation ---------- */
.view65101-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: linear-gradient(180deg, rgba(33, 31, 30, 0.97), rgba(24, 23, 22, 0.99));
  border-top: 1px solid var(--view65101-line);
  padding: 5px 2px calc(5px + env(safe-area-inset-bottom));
}
.view65101-bnav a,
.view65101-bnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 5px 2px;
  background: none;
  border: 0;
  border-radius: 12px;
  color: rgba(217, 201, 172, 0.78);
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease;
}
.view65101-bnav a:active,
.view65101-bnav button:active {
  transform: scale(0.9);
}
.view65101-bnav svg {
  width: 21px;
  height: 21px;
}
.view65101-bnav-on {
  color: var(--view65101-accent);
}
.view65101-bnav-on svg {
  filter: drop-shadow(0 0 6px rgba(255, 222, 173, 0.45));
}

/* ---------- reveal on scroll (curtain slide-in) ---------- */
.view65101-js .view65101-rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.view65101-js .view65101-rv-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive tuning ---------- */
@media (min-width: 375px) {
  .view65101-main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .view65101-h1 {
    font-size: 22px;
  }
}
@media (min-width: 430px) {
  .view65101-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .view65101-h1 {
    font-size: 23px;
  }
  .view65101-h2 {
    font-size: 18px;
  }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .view65101-js .view65101-rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .view65101-slide,
  .view65101-menu,
  .view65101-btn,
  .view65101-gcard,
  .view65101-bnav a,
  .view65101-bnav button {
    transition: none;
  }
}
