/* ==========================================================================
   222-bet-app.click — site stylesheet (prefix: frame7a70e-)
   Palette: #2C2C2C base / #D3D3D3 text / #80CBC4 teal / #00E5FF accent
   Canvas: 320-430px mobile-first, centered phone frame on wide screens
   Visual tone: near-square corners, linear icons, state-color-only motion
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --frame7a70e-bg: #2C2C2C;
  --frame7a70e-bg-deep: #212121;
  --frame7a70e-panel: #303030;
  --frame7a70e-panel-soft: #373737;
  --frame7a70e-line: #454545;
  --frame7a70e-text: #D3D3D3;
  --frame7a70e-text-soft: #A6A6A6;
  --frame7a70e-teal: #80CBC4;
  --frame7a70e-cyan: #00E5FF;
  --frame7a70e-cyan-dim: rgba(0, 229, 255, 0.14);
  --frame7a70e-teal-dim: rgba(128, 203, 196, 0.14);
  --frame7a70e-radius: 3px;
  --frame7a70e-radius-cta: 7px;
  --frame7a70e-font-head: "Trebuchet MS", "Anek Bangla", "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  --frame7a70e-font-body: "Segoe UI", "Hind Siliguri", "Noto Sans Bengali", "Arial", sans-serif;
  --frame7a70e-topbar-h: 56px;
  --frame7a70e-bnav-h: 62px;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--frame7a70e-bg-deep);
  color: var(--frame7a70e-text);
  font-family: var(--frame7a70e-font-body);
  font-size: 14px;
  line-height: 1.65;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; border: 0; }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: var(--frame7a70e-teal); text-decoration: none; }
a:hover { color: var(--frame7a70e-cyan); }

:focus-visible {
  outline: 2px solid var(--frame7a70e-cyan);
  outline-offset: 2px;
}

.frame7a70e-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--frame7a70e-cyan);
  color: #10201f;
  padding: 8px 14px;
  font-weight: 700;
  z-index: 99;
}
.frame7a70e-skip:focus { left: 10px; top: 10px; }

/* ---------- phone canvas ---------- */
.frame7a70e-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 430px;
  margin: 0 auto;
  background: var(--frame7a70e-bg);
  overflow-x: hidden;
}

/* main column must clear both fixed bars */
.frame7a70e-main {
  padding: calc(var(--frame7a70e-topbar-h) + 10px) 12px
           calc(var(--frame7a70e-bnav-h) + 34px);
}

/* ---------- fixed topbar (LOGO-led action bar) ---------- */
.frame7a70e-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame7a70e-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #262626 0%, #2C2C2C 100%);
  border-bottom: 1px solid var(--frame7a70e-line);
  z-index: 60;
}

.frame7a70e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.frame7a70e-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  background: #1d1d1d;
  flex: 0 0 auto;
}

.frame7a70e-brand-name {
  font-family: var(--frame7a70e-font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #EDEDED;
  white-space: nowrap;
}
.frame7a70e-brand-name em {
  font-style: normal;
  color: var(--frame7a70e-cyan);
}

.frame7a70e-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* light-rounded text CTA group */
.frame7a70e-btn {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--frame7a70e-radius-cta);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.frame7a70e-btn-register {
  background: var(--frame7a70e-cyan);
  color: #10201f;
}
.frame7a70e-btn-register:hover,
.frame7a70e-btn-register:active {
  background: #4dedff;
  color: #10201f;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
}
.frame7a70e-btn-login {
  border: 1px solid var(--frame7a70e-teal);
  color: var(--frame7a70e-teal);
  background: var(--frame7a70e-teal-dim);
}
.frame7a70e-btn-login:hover,
.frame7a70e-btn-login:active {
  color: var(--frame7a70e-cyan);
  border-color: var(--frame7a70e-cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
}

/* hamburger trigger (kept linear, fills when menu opens) */
.frame7a70e-menu-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  background: var(--frame7a70e-panel);
}
.frame7a70e-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--frame7a70e-text);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.frame7a70e-menu-btn:hover span { background: var(--frame7a70e-cyan); }
.frame7a70e-menu-btn[aria-expanded="true"] span { background: var(--frame7a70e-cyan); }
.frame7a70e-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.frame7a70e-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.frame7a70e-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- sectioned menu page ---------- */
.frame7a70e-scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 55;
}
.frame7a70e-scrim.frame7a70e-open { opacity: 1; visibility: visible; }

.frame7a70e-menu {
  position: fixed;
  top: var(--frame7a70e-topbar-h);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - var(--frame7a70e-topbar-h) - var(--frame7a70e-bnav-h));
  overflow-y: auto;
  background: #262626;
  border-bottom: 1px solid var(--frame7a70e-line);
  padding: 10px 12px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 58;
}
.frame7a70e-menu.frame7a70e-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.frame7a70e-menu-group { margin-top: 12px; }
.frame7a70e-menu-group:first-child { margin-top: 2px; }

.frame7a70e-menu-label {
  font-family: var(--frame7a70e-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame7a70e-teal);
  padding: 0 2px 4px;
  border-bottom: 1px dashed var(--frame7a70e-line);
}

.frame7a70e-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 13.5px;
  color: var(--frame7a70e-text);
  border-bottom: 1px solid rgba(69, 69, 69, 0.5);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.frame7a70e-menu a::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--frame7a70e-teal);
  flex: 0 0 auto;
}
.frame7a70e-menu a:hover,
.frame7a70e-menu a:focus-visible {
  color: var(--frame7a70e-cyan);
  background: var(--frame7a70e-cyan-dim);
}
.frame7a70e-menu a:hover::before { background: var(--frame7a70e-cyan); }

/* ---------- intro block ---------- */
.frame7a70e-intro {
  border: 1px solid var(--frame7a70e-line);
  border-left: 3px solid var(--frame7a70e-cyan);
  background: var(--frame7a70e-panel);
  padding: 14px 12px;
  border-radius: var(--frame7a70e-radius);
}

.frame7a70e-title {
  font-family: var(--frame7a70e-font-head);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  color: #F0F0F0;
  margin-bottom: 8px;
}

.frame7a70e-intro p {
  font-size: 13.5px;
  color: var(--frame7a70e-text);
  margin-bottom: 8px;
}
.frame7a70e-intro p:last-child { margin-bottom: 0; }

.frame7a70e-intro a {
  color: var(--frame7a70e-cyan);
  border-bottom: 1px dotted var(--frame7a70e-cyan);
  font-weight: 600;
}

/* keyword chips row */
.frame7a70e-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}
.frame7a70e-chip {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 6px 9px;
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  background: #282828;
  color: var(--frame7a70e-text-soft);
}
.frame7a70e-chip b { color: var(--frame7a70e-teal); font-weight: 600; }

/* ---------- hero carousel ---------- */
.frame7a70e-hero {
  position: relative;
  margin-top: 14px;
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  overflow: hidden;
  background: #1c1c1c;
}

.frame7a70e-track {
  display: flex;
  transition: transform 0.4s ease;
}

.frame7a70e-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  aspect-ratio: 20 / 11;
}
.frame7a70e-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame7a70e-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.92) 78%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.frame7a70e-slide-title {
  font-family: var(--frame7a70e-font-head);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}
.frame7a70e-slide-sub {
  font-size: 11.5px;
  color: var(--frame7a70e-text);
  line-height: 1.45;
}
.frame7a70e-slide-copy .frame7a70e-btn {
  align-self: flex-start;
  min-height: 32px;
  padding: 5px 14px;
  font-size: 12px;
}

/* dots */
.frame7a70e-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.frame7a70e-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(211, 211, 211, 0.45);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.frame7a70e-dot.frame7a70e-on {
  background: var(--frame7a70e-cyan);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}

/* ---------- section shell ---------- */
.frame7a70e-sec { margin-top: 26px; }

.frame7a70e-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--frame7a70e-line);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

h2.frame7a70e-h2 {
  font-family: var(--frame7a70e-font-head);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: #F0F0F0;
}

.frame7a70e-count {
  font-size: 10.5px;
  font-weight: 700;
  color: #10201f;
  background: var(--frame7a70e-teal);
  border-radius: var(--frame7a70e-radius);
  padding: 2px 7px;
  white-space: nowrap;
}

.frame7a70e-sec-intro {
  font-size: 12.5px;
  color: var(--frame7a70e-text-soft);
  margin: 4px 0 10px;
}

h3.frame7a70e-h3 {
  font-family: var(--frame7a70e-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame7a70e-teal);
  margin: 14px 0 6px;
}

/* ---------- scenario access branches ---------- */
.frame7a70e-branch {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.frame7a70e-branch-card {
  border: 1px solid var(--frame7a70e-line);
  border-left: 3px solid var(--frame7a70e-teal);
  background: #2a2a2a;
  border-radius: var(--frame7a70e-radius);
  padding: 10px 11px;
}
.frame7a70e-branch-card dt {
  font-family: var(--frame7a70e-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: #EAEAEA;
  margin-bottom: 4px;
}
.frame7a70e-branch-card dd {
  font-size: 12.5px;
  color: var(--frame7a70e-text-soft);
}
.frame7a70e-branch-card dd b { color: var(--frame7a70e-text); font-weight: 600; }

/* ---------- game grids ---------- */
/* form 1: 4-column compact icon tiles */
.frame7a70e-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 7px;
}

.frame7a70e-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
  background: var(--frame7a70e-panel);
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  text-align: center;
  min-height: 44px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.frame7a70e-tile:hover,
.frame7a70e-tile:active {
  border-color: var(--frame7a70e-cyan);
  background: #333333;
}
.frame7a70e-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: #1d1d1d;
}
.frame7a70e-tile-name {
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--frame7a70e-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* form 2: horizontal icon + name bars (2 columns) */
.frame7a70e-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}
.frame7a70e-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  min-height: 56px;
  background: var(--frame7a70e-panel);
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.frame7a70e-bar:hover,
.frame7a70e-bar:active {
  border-color: var(--frame7a70e-cyan);
  background: #333333;
}
.frame7a70e-bar img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 2px;
  background: #1d1d1d;
}
.frame7a70e-bar-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--frame7a70e-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.frame7a70e-bar-tag {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--frame7a70e-teal);
  border: 1px solid var(--frame7a70e-teal);
  border-radius: var(--frame7a70e-radius);
  padding: 2px 5px;
  align-self: flex-start;
}

/* form 3: ranked full-width strips (hot list) */
.frame7a70e-strips {
  display: grid;
  gap: 7px;
}
.frame7a70e-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 10px;
  min-height: 58px;
  background: linear-gradient(90deg, #313131 0%, #2a2a2a 70%);
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  text-align: left;
  transition: border-color 0.15s ease;
}
.frame7a70e-strip:hover,
.frame7a70e-strip:active { border-color: var(--frame7a70e-cyan); }
.frame7a70e-strip-rank {
  flex: 0 0 auto;
  width: 20px;
  font-family: var(--frame7a70e-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame7a70e-cyan);
  text-align: center;
}
.frame7a70e-strip img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 2px;
  background: #1d1d1d;
}
.frame7a70e-strip-body { flex: 1 1 auto; min-width: 0; }
.frame7a70e-strip-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #E8E8E8;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame7a70e-strip-meta {
  font-size: 10px;
  color: var(--frame7a70e-text-soft);
}
.frame7a70e-strip-cta {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: #10201f;
  background: var(--frame7a70e-teal);
  border-radius: var(--frame7a70e-radius-cta);
  padding: 5px 9px;
}

/* ---------- help-page controls ---------- */
.frame7a70e-action { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 10px; }
.frame7a70e-steps { list-style: none; display: grid; gap: 9px; margin-top: 10px; }
.frame7a70e-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-left: 2px solid var(--frame7a70e-cyan); background: #292929; border-top: 1px solid var(--frame7a70e-line); border-right: 1px solid var(--frame7a70e-line); border-bottom: 1px solid var(--frame7a70e-line); border-radius: var(--frame7a70e-radius); }
.frame7a70e-steps li > span { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; color: #10201f; background: var(--frame7a70e-teal); font-family: var(--frame7a70e-font-head); font-weight: 700; font-size: 11px; }
.frame7a70e-steps li p { font-size: 12.5px; color: var(--frame7a70e-text-soft); }
.frame7a70e-steps .frame7a70e-h3 { margin: 0 0 3px; }
.frame7a70e-qa { display: grid; gap: 7px; margin-top: 10px; }
.frame7a70e-qa details { border: 1px solid var(--frame7a70e-line); background: #292929; border-radius: var(--frame7a70e-radius); padding: 10px; }
.frame7a70e-qa summary { cursor: pointer; min-height: 24px; color: var(--frame7a70e-text); font-weight: 700; font-size: 12.5px; }
.frame7a70e-qa details p { margin: 7px 0 0; font-size: 12.5px; color: var(--frame7a70e-text-soft); }
.frame7a70e-term-grid { display: grid; gap: 10px; }
.frame7a70e-term-grid > div { padding-bottom: 8px; border-bottom: 1px solid rgba(69,69,69,.6); }
.frame7a70e-term-grid > div:last-child { border-bottom: 0; padding-bottom: 0; }
.frame7a70e-term-grid p { font-size: 12.5px; color: var(--frame7a70e-text-soft); }
.frame7a70e-actions-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.frame7a70e-actions-row .frame7a70e-promo-btn { min-height: 44px; padding: 5px; }
.frame7a70e-final-note { border-left: 3px solid var(--frame7a70e-teal); }

/* ---------- content modules ---------- */
.frame7a70e-module {
  margin-top: 12px;
  border: 1px solid var(--frame7a70e-line);
  background: #292929;
  border-radius: var(--frame7a70e-radius);
  padding: 12px;
}
.frame7a70e-module p {
  font-size: 13px;
  margin-bottom: 8px;
}
.frame7a70e-module p:last-child { margin-bottom: 0; }
.frame7a70e-module a {
  color: var(--frame7a70e-cyan);
  border-bottom: 1px dotted var(--frame7a70e-cyan);
  font-weight: 600;
}

.frame7a70e-list {
  list-style: none;
  margin-top: 4px;
}
.frame7a70e-list li {
  position: relative;
  padding: 6px 8px 6px 24px;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(69, 69, 69, 0.45);
}
.frame7a70e-list li:last-child { border-bottom: 0; }
.frame7a70e-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--frame7a70e-teal);
}
.frame7a70e-list li b { color: #EAEAEA; font-weight: 600; }

/* winners feed */
.frame7a70e-feed {
  margin-top: 8px;
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  background: #242424;
  max-height: 150px;
  overflow: hidden;
}
.frame7a70e-feed-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(69, 69, 69, 0.5);
  font-size: 12px;
}
.frame7a70e-feed-row:last-child { border-bottom: 0; }
.frame7a70e-feed-who { flex: 0 0 auto; width: 64px; color: var(--frame7a70e-text-soft); }
.frame7a70e-feed-game {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--frame7a70e-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame7a70e-feed-amt { flex: 0 0 auto; font-weight: 700; color: var(--frame7a70e-cyan); }

/* comparison rows */
.frame7a70e-cmp {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.frame7a70e-cmp-row {
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  background: #262626;
  padding: 9px 10px;
}
.frame7a70e-cmp-name {
  font-family: var(--frame7a70e-font-head);
  font-size: 13px;
  font-weight: 700;
  color: #EAEAEA;
  margin-bottom: 5px;
}
.frame7a70e-cmp-row dl {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.frame7a70e-cmp-row div {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--frame7a70e-text-soft);
  border: 1px solid var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  padding: 3px 7px;
  background: #2e2e2e;
}
.frame7a70e-cmp-row dt { display: inline; color: var(--frame7a70e-teal); font-weight: 700; }
.frame7a70e-cmp-row dt::after { content: ": "; color: var(--frame7a70e-text-soft); }
.frame7a70e-cmp-row dd { display: inline; margin: 0; }

/* ---------- extended footer (homepage only) ---------- */
.frame7a70e-ext {
  margin-top: 26px;
  border-top: 2px solid var(--frame7a70e-teal);
  background: #232323;
  padding: 14px 12px 6px;
  border-radius: 0 0 var(--frame7a70e-radius) var(--frame7a70e-radius);
}

.frame7a70e-ext-brand { font-size: 12.5px; color: var(--frame7a70e-text-soft); }

.frame7a70e-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 10px 0 4px;
}
.frame7a70e-promo-btn {
  min-height: 44px;
  border: 1px solid var(--frame7a70e-teal);
  border-radius: var(--frame7a70e-radius-cta);
  background: var(--frame7a70e-teal-dim);
  color: var(--frame7a70e-teal);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.frame7a70e-promo-btn:hover,
.frame7a70e-promo-btn:active {
  color: var(--frame7a70e-cyan);
  border-color: var(--frame7a70e-cyan);
  box-shadow: 0 0 9px rgba(0, 229, 255, 0.35);
}

.frame7a70e-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
  margin-top: 6px;
}
.frame7a70e-dir a {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 5px 0 5px 12px;
  position: relative;
  color: var(--frame7a70e-text-soft);
  border-bottom: 1px dotted rgba(69, 69, 69, 0.7);
}
.frame7a70e-dir a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--frame7a70e-teal);
}
.frame7a70e-dir a:hover { color: var(--frame7a70e-cyan); }

.frame7a70e-disclaimer {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.6;
  color: #8F8F8F;
  border: 1px dashed var(--frame7a70e-line);
  border-radius: var(--frame7a70e-radius);
  padding: 8px 10px;
}

/* ---------- common footer + bottom nav rail ---------- */
.frame7a70e-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
}

.frame7a70e-copy {
  background: #1d1d1d;
  border-top: 1px solid var(--frame7a70e-line);
  text-align: center;
  font-size: 10px;
  color: #8A8A8A;
  padding: 5px 8px;
}

.frame7a70e-bnav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #242424;
  border-top: 1px solid var(--frame7a70e-line);
  height: var(--frame7a70e-bnav-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.frame7a70e-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--frame7a70e-text-soft);
  font-size: 10px;
  line-height: 1;
  transition: color 0.15s ease;
}
.frame7a70e-bnav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frame7a70e-bnav-item:hover,
.frame7a70e-bnav-item:active {
  color: var(--frame7a70e-text);
}
/* active state = color switch + restrained glow */
.frame7a70e-bnav-active {
  color: var(--frame7a70e-cyan);
}
.frame7a70e-bnav-active svg {
  stroke: var(--frame7a70e-cyan);
  fill: var(--frame7a70e-cyan-dim);
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.55));
}

/* ---------- responsive tuning ---------- */
@media (max-width: 430px) {
  .frame7a70e-tiles { gap: 7px 6px; }
}

@media (max-width: 374px) {
  .frame7a70e-tile-name { font-size: 10px; }
  .frame7a70e-bars { gap: 6px; }
  .frame7a70e-bar { min-height: 52px; padding: 5px 6px; }
  .frame7a70e-bar img { width: 38px; height: 38px; }
  .frame7a70e-brand-name { font-size: 15px; }
  .frame7a70e-btn { padding: 6px 9px; font-size: 11.5px; }
  .frame7a70e-promos,
  .frame7a70e-dir { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 375px) {
  .frame7a70e-tile-name { font-size: 11px; }
  .frame7a70e-bar-name { font-size: 12px; }
}

/* wide screens: keep the centered phone canvas */
@media (min-width: 431px) {
  body {
    background:
      repeating-linear-gradient(135deg, #1e1e1e 0 14px, #1a1a1a 14px 28px);
  }
  .frame7a70e-shell {
    border-left: 1px solid #3a3a3a;
    border-right: 1px solid #3a3a3a;
    box-shadow: 0 0 34px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .frame7a70e-track { transition: none; }
  .frame7a70e-btn,
  .frame7a70e-tile,
  .frame7a70e-bar,
  .frame7a70e-strip,
  .frame7a70e-promo-btn,
  .frame7a70e-bnav-item { transition: none; }
  .frame7a70e-bnav-active svg { filter: none; }
}
