/* The phone blueprint uses the same five destinations at every width. */
.dock {
  width: min(358px, calc(100vw - 24px));
  height: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.22fr 1fr;
  align-items: center;
  gap: 2px;
  padding: 5px 7px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  box-shadow: 0 4px 24px rgb(0 0 0 / 12%);
}
.dock :is(a, button), .dock button[data-ui="postFlow"] {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: var(--hit);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
}
.dock :is(a,button) svg { width: 22px; height: 22px; }
.dock :is(a,button) span { display: block; font: 600 10px/1.2 var(--typeface); }
.dock button[data-ui="postFlow"] {color: var(--on-green); background: var(--money-green);}
.dock a[aria-current] {background: var(--canvas-soft); color: var(--action-ink);}
.market-top .search-button { text-decoration:none; }
@media (max-width: 359px) { .dock { width:calc(100vw - 12px); } }

/* Reserve the black studio surface for campaign artwork. */
body[data-page=home], body[data-page=home] .market-top, body[data-page=home] .mh-strip {
  background: var(--paper);
  color: var(--action-ink);
}
body[data-page=home] .market-top :is(.app-notifications,.search-button,.app-avatar) {
  color: var(--action-ink);
  background: var(--canvas-soft);
}
body[data-page=home] .market-top .mh-start {color:var(--paper); background:var(--action-ink);}
body[data-page=home] .market-top :focus-visible {outline-color:var(--action-ink);}
body[data-page=home] .mh-volume {color:var(--action-ink);}
body[data-page=home] .mh-volume strong {color:var(--positive-text);}
body[data-page=home] .mh-volume small, body[data-page=home] .mh-strip .money-tag {color:var(--muted);}
body[data-page=home] .mh-strip {min-height:32px;}
body[data-page=home] #main, body[data-page=home] .foot {background:var(--paper);}
@media(max-width:719px) {
  .of-hero-image>.of-art {height:clamp(185px,58vw,228px);}
  .of-hero-body .of-start {width:auto;min-width:5.5rem;min-height:44px;padding-inline:var(--space-5);}
}

#main .cash-home .cash-home-actions {display:flex;justify-content:flex-start;gap:var(--space-2);}
#main .cash-home .cash-home-actions .cash-pill {flex:0 0 auto;min-width:80px;padding-inline:var(--space-5);}
#main .cash-home .cash-home-actions .cash-collect {background:var(--action-ink);color:var(--paper);}
#main .cash-home .cash-home-actions .cash-earn {background:var(--canvas-soft);color:var(--action-ink);}
