/* ==========================================================================
   01jili.click - compact-0a0078-visuals.css
   Mobile-first phone canvas (320-430px), centered on wide screens.
   Class prefix: frame0a007-  |  Variable prefix: --frame0a007-
   Palette: #778899 | #2C3E50 | #00CED1 | #333333 | #87CEEB
   Direction: monospace accents over regular body text, near-square tool
   corners, outlined tile game cards, short-list info rhythm, icon-state
   micro motion only, square high-contrast CTA buttons.
   ========================================================================== */

:root {
  --frame0a007-ink: #333333;      /* deepest dark, footer + page edge */
  --frame0a007-base: #2C3E50;     /* canvas background */
  --frame0a007-panel: #24333F;    /* raised panels, tiles */
  --frame0a007-well: #1D2A36;     /* inset wells, qa blocks */
  --frame0a007-line: #46586A;     /* hairline borders */
  --frame0a007-steel: #778899;    /* muted text */
  --frame0a007-glow: #00CED1;     /* brand accent */
  --frame0a007-sky: #87CEEB;      /* light accent */
  --frame0a007-paper: #E8F1F6;    /* main text */
  --frame0a007-dim: #B6C7D4;      /* body text */
  --frame0a007-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  --frame0a007-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --frame0a007-topbar: 54px;
  --frame0a007-tabbar: 60px;
  --frame0a007-canvas: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--frame0a007-ink);
  color: var(--frame0a007-dim);
  font-family: var(--frame0a007-sans);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--frame0a007-sky); }
a:hover { color: var(--frame0a007-glow); }

ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, dt { margin: 0; }

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--frame0a007-glow);
  outline-offset: 2px;
}

::selection { background: var(--frame0a007-glow); color: #0B2830; }

/* ---------------------------------------------------------------- shell -- */

.frame0a007-shell {
  position: relative;
  max-width: var(--frame0a007-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame0a007-base);
}

.frame0a007-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.frame0a007-skip {
  position: absolute;
  left: 10px; top: -48px;
  z-index: 90;
  padding: 10px 14px;
  background: var(--frame0a007-glow);
  color: #0B2830;
  font-family: var(--frame0a007-mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}

.frame0a007-skip:focus { top: 6px; }

/* --------------------------------------------------------------- topbar -- */
/* Minimal title action band: brand logo + name only, actions to the right. */

.frame0a007-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame0a007-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(36, 51, 63, .97);
  border-bottom: 1px solid var(--frame0a007-line);
  z-index: 60;
}

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

.frame0a007-brand img {
  width: 30px; height: 30px;
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  background: var(--frame0a007-well);
}

.frame0a007-brand-name {
  font-family: var(--frame0a007-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--frame0a007-paper);
  white-space: nowrap;
}

.frame0a007-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Square high-contrast CTAs, zero radius, tool feel. */
.frame0a007-btn {
  font-family: var(--frame0a007-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  height: 34px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
}

.frame0a007-btn-solid {
  background: var(--frame0a007-glow);
  color: #0B2830;
  border-color: var(--frame0a007-glow);
}

.frame0a007-btn-solid:active { box-shadow: 0 0 10px rgba(0, 206, 209, .5); }

.frame0a007-btn-ghost {
  background: transparent;
  color: var(--frame0a007-sky);
  border-color: var(--frame0a007-sky);
}

.frame0a007-btn-ghost:active { box-shadow: 0 0 8px rgba(135, 206, 235, .4); }

.frame0a007-menu-btn {
  width: 38px; height: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.frame0a007-menu-bar {
  display: block;
  width: 16px; height: 2px;
  background: var(--frame0a007-sky);
  transition: background .15s ease;
}

/* icon state micro-change when the panel is open */
.frame0a007-menu-btn[aria-expanded="true"] .frame0a007-menu-bar { background: var(--frame0a007-glow); }
.frame0a007-menu-btn[aria-expanded="true"] { border-color: var(--frame0a007-glow); }

/* -------------------------------------------------------- compact routes -- */

.frame0a007-scrim {
  position: fixed;
  inset: 0;
  background: rgba(19, 28, 36, .62);
  z-index: 58;
}

.frame0a007-scrim[hidden] { display: none; }

.frame0a007-routes {
  position: fixed;
  top: calc(var(--frame0a007-topbar) + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 410px;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  background: var(--frame0a007-panel);
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  padding: 6px 12px 12px;
  z-index: 59;
}

.frame0a007-routes[hidden] { display: none; }

.frame0a007-route-group {
  padding: 9px 0 7px;
  border-bottom: 1px dashed var(--frame0a007-well);
}

.frame0a007-route-group:last-child { border-bottom: 0; }

.frame0a007-route-label {
  font-family: var(--frame0a007-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame0a007-steel);
  margin: 0 0 6px;
}

.frame0a007-route-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}

.frame0a007-route {
  font-family: var(--frame0a007-mono);
  font-size: 12px;
  color: var(--frame0a007-paper);
  text-decoration: none;
  display: block;
  min-height: 34px;
  padding: 7px 4px;
  border-left: 2px solid transparent;
  line-height: 1.3;
}

.frame0a007-route:hover { color: var(--frame0a007-glow); border-left-color: var(--frame0a007-glow); }

.frame0a007-route-is {
  color: var(--frame0a007-glow);
  border-left-color: var(--frame0a007-glow);
}

/* ----------------------------------------------------------------- main -- */

.frame0a007-main {
  padding: calc(var(--frame0a007-topbar) + 14px) 14px calc(var(--frame0a007-tabbar) + 34px);
}

.frame0a007-h1 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: .2px;
  color: var(--frame0a007-paper);
  margin: 2px 0 10px;
}

.frame0a007-h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--frame0a007-paper);
  margin: 28px 0 10px;
}

.frame0a007-h2::before {
  content: "";
  flex: 0 0 4px;
  width: 4px; height: 16px;
  background: var(--frame0a007-glow);
}

.frame0a007-h3 {
  font-family: var(--frame0a007-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: var(--frame0a007-sky);
  margin: 18px 0 7px;
}

.frame0a007-p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.65; }

.frame0a007-lede { font-size: 14px; color: var(--frame0a007-paper); }

.frame0a007-inlink {
  color: var(--frame0a007-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------------------------------------- carousel -- */

.frame0a007-carousel {
  position: relative;
  margin: 14px 0 2px;
}

.frame0a007-carousel-clip {
  overflow: hidden;
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  background: var(--frame0a007-well);
}

.frame0a007-carousel-track {
  display: flex;
  transition: transform .28s ease;
}

.frame0a007-carousel-slide {
  flex: 0 0 100%;
  display: block;
}

.frame0a007-carousel-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frame0a007-carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.frame0a007-carousel-dot {
  width: 14px; height: 14px;
  padding: 0;
  border: 1px solid var(--frame0a007-sky);
  background: rgba(29, 42, 54, .75);
  border-radius: 2px;
  cursor: pointer;
}

.frame0a007-carousel-dot-on {
  background: var(--frame0a007-glow);
  border-color: var(--frame0a007-glow);
  box-shadow: 0 0 8px rgba(0, 206, 209, .55);
}

/* ----------------------------------------------------------------- chips -- */

.frame0a007-chips {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 12px 0 2px;
}

.frame0a007-chips li {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--frame0a007-mono);
  font-size: 10.5px;
  letter-spacing: .2px;
  line-height: 1.35;
  text-align: center;
  color: var(--frame0a007-sky);
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  padding: 8px 4px;
  background: var(--frame0a007-well);
}

/* ------------------------------------------------------------ game shelves -- */

.frame0a007-zone { margin-top: 6px; }

.frame0a007-shelf { margin: 22px 0; }

.frame0a007-shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--frame0a007-line);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.frame0a007-shelf-head .frame0a007-h3 { margin: 0; }

.frame0a007-shelf-count {
  font-family: var(--frame0a007-mono);
  font-size: 10px;
  letter-spacing: .6px;
  color: var(--frame0a007-steel);
  white-space: nowrap;
}

.frame0a007-shelf-note {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--frame0a007-steel);
  margin: 0 0 10px;
}

/* Outlined tile cards, 4 columns on the phone canvas. */
.frame0a007-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.frame0a007-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 5px 6px;
  background: var(--frame0a007-panel);
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  text-decoration: none;
  color: var(--frame0a007-dim);
}

.frame0a007-tile-art {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--frame0a007-well);
  background: var(--frame0a007-well);
  overflow: hidden;
}

.frame0a007-tile-art img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.frame0a007-tile-name {
  font-family: var(--frame0a007-mono);
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.frame0a007-tile:active {
  border-color: var(--frame0a007-glow);
  box-shadow: 0 0 8px rgba(0, 206, 209, .35);
}

/* -------------------------------------------------------------- cta strip -- */

.frame0a007-cta {
  margin: 20px 0 4px;
  padding: 12px 13px;
  border: 1px dashed var(--frame0a007-glow);
  border-radius: 2px;
  background: var(--frame0a007-well);
}

.frame0a007-cta .frame0a007-p { margin: 0; font-size: 13px; }

.frame0a007-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.frame0a007-cta-link {
  flex: 1 1 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  text-align: center;
  font-family: var(--frame0a007-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  border-radius: 0;
  padding: 8px;
}

.frame0a007-cta-link svg { width: 15px; height: 15px; }

.frame0a007-cta-link-main {
  background: var(--frame0a007-glow);
  color: #0B2830;
  border: 1px solid var(--frame0a007-glow);
}

.frame0a007-cta-link-main svg { fill: #0B2830; }

.frame0a007-cta-link-main:active { box-shadow: 0 0 10px rgba(0, 206, 209, .5); }

.frame0a007-cta-link-alt {
  background: transparent;
  color: var(--frame0a007-sky);
  border: 1px solid var(--frame0a007-sky);
}

.frame0a007-cta-link-alt svg { fill: var(--frame0a007-sky); }

.frame0a007-cta-link-alt:active { box-shadow: 0 0 8px rgba(135, 206, 235, .4); }

/* ---------------------------------------------------------------- lists -- */

/* Short-list info rhythm: plus-marked bullets and numbered pass sheets. */
.frame0a007-list { list-style: none; margin: 0 0 12px; }

.frame0a007-list li {
  position: relative;
  padding-left: 17px;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.58;
}

.frame0a007-list li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
  color: var(--frame0a007-glow);
  font-family: var(--frame0a007-mono);
  font-size: 12px;
}

.frame0a007-steps {
  list-style: none;
  counter-reset: frame0a007-steps;
  margin: 0 0 12px;
}

.frame0a007-steps li {
  counter-increment: frame0a007-steps;
  position: relative;
  padding-left: 32px;
  margin: 0 0 9px;
  font-size: 13px;
  line-height: 1.58;
}

.frame0a007-steps li::before {
  content: counter(frame0a007-steps, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--frame0a007-mono);
  font-size: 10.5px;
  color: var(--frame0a007-glow);
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  padding: 1px 4px;
  background: var(--frame0a007-well);
}

/* Definition rows: monospace term column, plain value column. */
.frame0a007-rows {
  margin: 12px 0 14px;
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  background: var(--frame0a007-panel);
}

.frame0a007-row {
  display: flex;
  gap: 10px;
  padding: 9px 11px;
  border-top: 1px solid var(--frame0a007-well);
}

.frame0a007-row:first-child { border-top: 0; }

.frame0a007-row dt {
  flex: 0 0 38%;
  font-family: var(--frame0a007-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--frame0a007-glow);
}

.frame0a007-row dd {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--frame0a007-dim);
}

/* Question lines: bold ask, short answer, accent left edge. */
.frame0a007-qa {
  margin: 11px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--frame0a007-glow);
  background: var(--frame0a007-well);
  border-radius: 0 2px 2px 0;
  font-size: 13px;
  line-height: 1.58;
}

.frame0a007-qa b {
  display: block;
  color: var(--frame0a007-paper);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ------------------------------------------------------- extended footer -- */

.frame0a007-foot {
  margin-top: 28px;
  border-top: 1px solid var(--frame0a007-line);
  background: var(--frame0a007-ink);
}

.frame0a007-foot-inner { padding: 18px 14px 8px; }

.frame0a007-fbrand { display: flex; gap: 10px; align-items: flex-start; }

.frame0a007-fbrand img {
  width: 40px; height: 40px;
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  background: var(--frame0a007-well);
}

.frame0a007-fbrand-name {
  font-family: var(--frame0a007-mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  color: var(--frame0a007-paper);
  padding-top: 2px;
}

.frame0a007-fblurb {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--frame0a007-dim);
  margin: 10px 0 0;
}

.frame0a007-partners {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  margin: 15px 0 2px;
  padding: 2px 0 5px;
  -webkit-overflow-scrolling: touch;
}

.frame0a007-partners img {
  height: 26px;
  width: auto;
  flex: 0 0 auto;
  opacity: .8;
  filter: grayscale(35%);
}

.frame0a007-ftitle {
  font-family: var(--frame0a007-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame0a007-steel);
  margin: 20px 0 8px;
}

.frame0a007-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
}

.frame0a007-dir-group ul { list-style: none; }

.frame0a007-dir-group a {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--frame0a007-dim);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 1px dotted var(--frame0a007-well);
}

.frame0a007-dir-group a:hover { color: var(--frame0a007-glow); }

/* Four promotion actions, square, icon + text label. */
.frame0a007-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.frame0a007-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 9px 10px;
  background: var(--frame0a007-panel);
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.frame0a007-promo svg {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  fill: var(--frame0a007-glow);
}

.frame0a007-promo span {
  font-family: var(--frame0a007-mono);
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--frame0a007-paper);
}

.frame0a007-promo:active {
  border-color: var(--frame0a007-glow);
  box-shadow: 0 0 8px rgba(0, 206, 209, .45);
}

.frame0a007-note {
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--frame0a007-steel);
  border-left: 3px solid var(--frame0a007-steel);
  padding: 2px 0 2px 10px;
  margin: 14px 0 4px;
}

/* ------------------------------------------------- generic bar + tabbar -- */

.frame0a007-copy {
  margin: 0;
  padding: 13px 14px;
  text-align: center;
  font-family: var(--frame0a007-mono);
  font-size: 10.5px;
  letter-spacing: .5px;
  color: var(--frame0a007-steel);
  border-top: 1px solid var(--frame0a007-well);
}

/* Brand accent band: filled icons, restrained inactive state, active state
   is an icon fill change with a restrained glow. */
.frame0a007-tabbar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: flex;
  background: rgba(29, 42, 54, .98);
  border-top: 2px solid var(--frame0a007-glow);
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.frame0a007-tab {
  flex: 1 1 0;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: var(--frame0a007-tabbar);
  text-decoration: none;
}

.frame0a007-tab svg {
  width: 21px; height: 21px;
  fill: var(--frame0a007-steel);
}

.frame0a007-tab span {
  font-family: var(--frame0a007-mono);
  font-size: 9.5px;
  letter-spacing: .4px;
  color: var(--frame0a007-steel);
}

.frame0a007-tab:active svg { fill: var(--frame0a007-sky); }

.frame0a007-tab-is svg {
  fill: var(--frame0a007-glow);
  filter: drop-shadow(0 0 5px rgba(0, 206, 209, .6));
}

.frame0a007-tab-is span { color: var(--frame0a007-paper); }

/* ------------------------------------------------------------ float top -- */

.frame0a007-top-btn {
  position: fixed;
  bottom: calc(var(--frame0a007-tabbar) + 14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(min(calc(50vw - 52px), 163px));
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--frame0a007-panel);
  border: 1px solid var(--frame0a007-line);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 55;
}

.frame0a007-top-btn svg { width: 16px; height: 16px; fill: var(--frame0a007-sky); }

.frame0a007-top-btn-show { visibility: visible; opacity: 1; }

.frame0a007-top-btn:active svg { fill: var(--frame0a007-glow); }

/* ------------------------------------------------------------ breakpoints -- */

@media (max-width: 359px) {
  .frame0a007-directory { grid-template-columns: 1fr 1fr; }
  .frame0a007-btn { padding: 0 9px; }
  .frame0a007-h1 { font-size: 19px; }
  .frame0a007-row { flex-direction: column; gap: 3px; }
  .frame0a007-row dt { flex: none; }
}

/* 5 tile columns once the canvas reaches its full 430px width. */
@media (min-width: 430px) {
  .frame0a007-grid { grid-template-columns: repeat(5, 1fr); }
  .frame0a007-shell {
    box-shadow: 0 0 0 1px #1B2733, 0 0 36px rgba(0, 0, 0, .5);
  }
}

/* ------------------------------------------------------------ motion diet -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame0a007-carousel-track { transition: none; }
  .frame0a007-top-btn { transition: none; }
  .frame0a007-skip { transition: none; }
  * { animation: none !important; }
}
